Skip to content

Commit

Permalink
Revert "Attempt to fix test"
Browse files Browse the repository at this point in the history
This reverts commit 6c5ed18.
  • Loading branch information
JukkaL committed Feb 15, 2021
1 parent 6c5ed18 commit 73f18a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mypy/test/test_find_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ def test_find_sources_exclude(self) -> None:

# nothing should be ignored as a result of this
options.exclude = "|".join((
"/pkg/a/", "/2/", "/1/", "/pk/", "/kg/", r"/g\.py", "/b/d", r"/xxx/pkg/a2/b/f\.py"
r"xxx/pkg/a2/b/f\.py",
"/pkg/a/", "/2", "/1", "/pk/", "/kg", "/g.py", "/bc", "/xxx/pkg/a2/b/f.py"
"xxx/pkg/a2/b/f.py",
))
fscache = FakeFSCache(files)
assert len(find_sources(["/"], options, fscache)) == len(files)
Expand All @@ -372,5 +372,4 @@ def test_find_sources_exclude(self) -> None:
"pkg/a2/b/f.py",
}
fscache = FakeFSCache(files)
print('cwd: {}'.format(self.tempdir))
assert len(find_sources(["/"], options, fscache)) == len(files)

0 comments on commit 73f18a6

Please sign in to comment.