Skip to content

Commit

Permalink
fix directory in logging tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Nov 12, 2024
1 parent 21b4f94 commit acfc559
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ def test_nested_loggers(capsys, tmp_path):
"""
Nested loggers should not double-log
"""
log_dir = Path(tmp_path) / "logs"
log_dir.mkdir()
log_dir = Path(tmp_path)

parent = init_logger("parent", log_dir=log_dir, level="DEBUG", file_level="DEBUG")
child = init_logger("parent.child", log_dir=log_dir, level="DEBUG", file_level="DEBUG")
Expand Down

0 comments on commit acfc559

Please sign in to comment.