mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Update to fix Travis Build & flake8 warning
- Fix Travis build by using dist: xenial so python 3.7 is available - Correct flake8 warning in core/test/app_test.py
This commit is contained in:
parent
bd3d47bf19
commit
1a04f6ee86
@ -1,4 +1,5 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
dist: xenial
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "3.4"
|
- "3.4"
|
||||||
|
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user