Skip to content

Commit 73f18a6

Browse files
committed
Revert "Attempt to fix test"
This reverts commit 6c5ed18.
1 parent 6c5ed18 commit 73f18a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mypy/test/test_find_sources.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ def test_find_sources_exclude(self) -> None:
358358

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

0 commit comments

Comments
 (0)