1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-02-24 04:31:38 +00:00

Merge pull request #533 from arsenetar/hscommonUpdate

Update hscommon & .travis.yml for Python 3.7
This commit is contained in:
2018-12-04 20:20:36 -06:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@@ -1,9 +1,11 @@
sudo: false sudo: false
dist: xenial
language: python language: python
python: python:
- "3.4" - "3.4"
- "3.5" - "3.5"
- "3.6" - "3.6"
- "3.7"
install: pip install tox-travis install: pip install tox-travis
script: tox script: tox

View File

@@ -43,7 +43,7 @@ class TestCaseDupeGuru:
eq_('\\(\\)\\[\\]\\\\\\.\\|\\+\\?\\^abc', call['filter_str']) eq_('\\(\\)\\[\\]\\\\\\.\\|\\+\\?\\^abc', call['filter_str'])
dgapp.apply_filter('(*)') # In "simple mode", we want the * to behave as a wilcard dgapp.apply_filter('(*)') # In "simple mode", we want the * to behave as a wilcard
call = dgapp.results.apply_filter.calls[3] call = dgapp.results.apply_filter.calls[3]
eq_('\(.*\)', call['filter_str']) eq_(r'\(.*\)', call['filter_str'])
dgapp.options['escape_filter_regexp'] = False dgapp.options['escape_filter_regexp'] = False
dgapp.apply_filter('(abc)') dgapp.apply_filter('(abc)')
call = dgapp.results.apply_filter.calls[5] call = dgapp.results.apply_filter.calls[5]