mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-19 05:19:03 +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
|
||||
dist: xenial
|
||||
language: python
|
||||
python:
|
||||
- "3.4"
|
||||
|
@ -43,7 +43,7 @@ class TestCaseDupeGuru:
|
||||
eq_('\\(\\)\\[\\]\\\\\\.\\|\\+\\?\\^abc', call['filter_str'])
|
||||
dgapp.apply_filter('(*)') # In "simple mode", we want the * to behave as a wilcard
|
||||
call = dgapp.results.apply_filter.calls[3]
|
||||
eq_('\(.*\)', call['filter_str'])
|
||||
eq_(r'\(.*\)', call['filter_str'])
|
||||
dgapp.options['escape_filter_regexp'] = False
|
||||
dgapp.apply_filter('(abc)')
|
||||
call = dgapp.results.apply_filter.calls[5]
|
||||
|
Loading…
Reference in New Issue
Block a user