Skip to content

Commit a22436c

Browse files
committed
test: since 62434e7 we don't need to account for .tox
1 parent 4ab4bb0 commit a22436c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/helpers.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,6 @@ def all_our_source_files() -> Iterator[tuple[Path, str]]:
396396
Produces a stream of (filename, file contents) tuples.
397397
"""
398398
cov_dir = Path(__file__).parent.parent
399-
if ".tox" in cov_dir.parts:
400-
# We are in a tox-installed environment, look above the .tox dir to
401-
# also find the uninstalled source files.
402-
cov_dir = Path(os.fspath(cov_dir).partition(".tox")[0])
403-
404399
# To run against all the files in the tox venvs:
405400
# for source_file in cov_dir.rglob("*.py"):
406401
for sub in [".", "benchmark", "ci", "coverage", "lab", "tests"]:

0 commit comments

Comments
 (0)