Skip to content

Commit

Permalink
test: snoop on shell constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgate committed Jul 9, 2024
1 parent b7ee697 commit fd46268
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shell_logger/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
from types import SimpleNamespace
from typing import IO, List, Optional, TextIO, Tuple

import snoop


END_OF_READ = 4

Expand All @@ -44,6 +46,7 @@ class Shell:
with the shell.
"""

@snoop
def __init__(
self, pwd: Optional[Path] = None, *, login_shell: bool = False
) -> None:
Expand Down

0 comments on commit fd46268

Please sign in to comment.