Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mypy/test/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from mypy.test.data import (
DataDrivenTestCase, fix_cobertura_filename, UpdateFile, DeleteFile
)
from mypy.test.config import test_temp_dir
from mypy.test.config import test_temp_dir, test_data_prefix
import mypy.version

skip = pytest.mark.skip
Expand Down Expand Up @@ -500,6 +500,6 @@ def normalize_file_output(content: List[str], current_abs_path: str) -> List[str
def find_test_files(pattern: str, exclude: Optional[List[str]] = None) -> List[str]:
return [
path.name
for path in (pathlib.Path("./test-data/unit").rglob(pattern))
for path in (pathlib.Path(test_data_prefix).rglob(pattern))
if path.name not in (exclude or [])
]