(self)
| 2352 | assert_collected_sources(src, expected, include="", exclude="") |
| 2353 | |
| 2354 | def test_extend_exclude(self) -> None: |
| 2355 | path = DATA_DIR / "include_exclude_tests" |
| 2356 | src = [path] |
| 2357 | expected = [ |
| 2358 | Path(path / "b/exclude/a.py"), |
| 2359 | Path(path / "b/dont_exclude/a.py"), |
| 2360 | ] |
| 2361 | assert_collected_sources( |
| 2362 | src, expected, exclude=r"\.pyi$", extend_exclude=r"\.definitely_exclude" |
| 2363 | ) |
| 2364 | |
| 2365 | @pytest.mark.incompatible_with_mypyc |
| 2366 | def test_symlink_out_of_root_directory(self) -> None: |
nothing calls this directly
no test coverage detected