Skip to content

Commit 1b235ff

Browse files
committed
cleanup
1 parent 438f99d commit 1b235ff

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44

55
@pytest.fixture(scope="session")
66
def test_output_dir():
7-
"""
8-
Create and return the tests/output directory for test output files.
9-
This fixture creates the directory if it doesn't exist, cleans up any existing files
10-
for each test, and returns the Path object.
11-
"""
7+
"""Create and return the tests/output directory for test output files."""
128
output_dir = Path(__file__).parent / "output"
139

14-
# Clean up any existing files
1510
if output_dir.exists():
1611
shutil.rmtree(output_dir)
1712

18-
# Create fresh directory
1913
output_dir.mkdir(exist_ok=True)
2014

2115
return output_dir

0 commit comments

Comments
 (0)