Skip to content

Commit 4ee14bb

Browse files
author
hauntsaninja
committed
tmp
1 parent ede5ac8 commit 4ee14bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mypy/test/test_find_sources.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ def test_find_sources_ignore_path(self) -> None:
268268
"/pkg/a2/b/f.py",
269269
}
270270

271+
options.ignore_path = ["/pkg/a", "2", "1", "pk", "kg", "g.py", "bc"]
272+
finder = SourceFinder(FakeFSCache(files), options)
273+
assert len(find_sources(finder, "/")) == len(files)
274+
271275
options.ignore_path = ["/pkg/a1"]
272276
finder = SourceFinder(FakeFSCache(files), options)
273277
assert find_sources(finder, "/") == [

0 commit comments

Comments
 (0)