Skip to content

Commit ebfa052

Browse files
committed
DEBUGGING
1 parent 3a3bca2 commit ebfa052

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/test_shell_logger.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,17 @@ def _use_tmpdir(monkeypatch: MonkeyPatch, tmpdir: Path) -> None:
8585
# return parent
8686

8787

88-
def test_initialization_creates_stream_dir() -> None:
89-
"""
90-
Ensure the stream directory is created.
88+
# def test_initialization_creates_stream_dir() -> None:
89+
# """
90+
# Ensure the stream directory is created.
9191

92-
Verify the initialization of a parent :class:`ShellLogger` object
93-
creates a temporary directory
94-
(``log_dir/%Y-%m-%d_%H%M%S``<random string>) if not already created.
95-
"""
96-
logger = ShellLogger(stack()[0][3], log_dir=Path.cwd())
97-
timestamp = logger.init_time.strftime("%Y-%m-%d_%H.%M.%S.%f")
98-
assert len(list(Path.cwd().glob(f"{timestamp}_*"))) == 1
92+
# Verify the initialization of a parent :class:`ShellLogger` object
93+
# creates a temporary directory
94+
# (``log_dir/%Y-%m-%d_%H%M%S``<random string>) if not already created.
95+
# """
96+
# logger = ShellLogger(stack()[0][3], log_dir=Path.cwd())
97+
# timestamp = logger.init_time.strftime("%Y-%m-%d_%H.%M.%S.%f")
98+
# assert len(list(Path.cwd().glob(f"{timestamp}_*"))) == 1
9999

100100

101101
# def test_initialization_creates_html_file() -> None:

0 commit comments

Comments
 (0)