From 28668c8d84bcb1ef4d8222eb2d9fef2589b71feb Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Mon, 15 Feb 2021 03:02:53 -0800 Subject: [PATCH] test_find_sources: check cwd for non root paths (#10077) Co-authored-by: hauntsaninja <> --- 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)