Skip to content

Commit

Permalink
try to debug gh runner verbose test
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Dec 17, 2023
1 parent 9688578 commit 4e9b508
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_verbose.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def test_VERBOSE(self):
with io.StringIO() as buf, redirect_stdout(buf):
VERBOSE(help)
output = buf.getvalue()
import re
output = re.sub(r'\x1b\[[0-9;]*m', '', output)
print (output)

assert "help" in output
Expand Down

0 comments on commit 4e9b508

Please sign in to comment.