Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP: verbosity if to oneliner
  • Loading branch information
CBroz1 committed Jul 12, 2022
commit b1e45a23fbee92538570d1f841e799c83ef5e507
5 changes: 1 addition & 4 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
sys.stdout.close()
sys.stdout = self._original_stdout

if verbose:
vebose_context = nullcontext()
else:
verbose_context = QuietStdOut()
verbose_context = nullcontext() if verbose else QuietStdOut()

# ------------------- FIXTURES -------------------

Expand Down