From f77053db82bf46fe2027b2cbaee253709dc7ec0c Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Thu, 11 Feb 2021 12:26:43 -0800 Subject: [PATCH] test_find_sources: check cwd for non root paths --- mypy/test/test_find_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/test/test_find_sources.py b/mypy/test/test_find_sources.py index 6d66a28f4e2d..ba5b613a0948 100644 --- a/mypy/test/test_find_sources.py +++ b/mypy/test/test_find_sources.py @@ -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)