summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-05-21 16:41:02 -0700
committerAnthony Sottile <asottile@umich.edu>2020-05-21 16:41:02 -0700
commit31c2f9f366f17e1fe7f638dd598dee67efe824b6 (patch)
treeda06f6750a94cc1479cf71d63834e2303c7cc74b /tests
parentd95f9cf0febd41086f702740e87b4a59c2cbaefc (diff)
downloadflake8-31c2f9f366f17e1fe7f638dd598dee67efe824b6.tar.gz
treat --extend-exclude as a file list
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/test_main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/test_main.py b/tests/integration/test_main.py
index 54254ef..ab10bf9 100644
--- a/tests/integration/test_main.py
+++ b/tests/integration/test_main.py
@@ -114,7 +114,7 @@ def test_extend_exclude(tmpdir, capsys):
tmpdir.mkdir(d).join('t.py').write('import os\nimport sys\n')
with tmpdir.as_cwd():
- _call_main(['--extend-exclude=vendor,legacy'], retv=1)
+ _call_main(['--extend-exclude=vendor,legacy/'], retv=1)
out, err = capsys.readouterr()
expected_out = '''\