We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e21c5b commit cc2cfb7Copy full SHA for cc2cfb7
1 file changed
progressbar/utils.py
@@ -47,7 +47,9 @@ def is_ansi_terminal(
47
is_terminal = True
48
# This works for newer versions of pycharm only. older versions there
49
# is no way to check.
50
- elif os.environ.get('PYCHARM_HOSTED') == '1':
+ elif os.environ.get('PYCHARM_HOSTED') == '1' and not os.environ.get(
51
+ 'PYTEST_CURRENT_TEST'
52
+ ):
53
54
55
if is_terminal is None:
0 commit comments