Skip to content

Commit

Permalink
test_find_sources: check cwd for non root paths (#10077)
Browse files Browse the repository at this point in the history
Co-authored-by: hauntsaninja <>
  • Loading branch information
hauntsaninja authored and JukkaL committed Feb 15, 2021
1 parent 73f18a6 commit 28668c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/test/test_find_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,4 +372,4 @@ def test_find_sources_exclude(self) -> None:
"pkg/a2/b/f.py",
}
fscache = FakeFSCache(files)
assert len(find_sources(["/"], options, fscache)) == len(files)
assert len(find_sources(["."], options, fscache)) == len(files)

0 comments on commit 28668c8

Please sign in to comment.