1
0
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:
Andrew Senetar 2018-12-04 20:16:15 -06:00
parent bd3d47bf19
commit 1a04f6ee86
Signed by: arsenetar
GPG Key ID: 1F9F419FC1C99AEB
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
sudo: false
dist: xenial
language: python
python:
- "3.4"

View File

@ -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]