Skip to content

Commit 3fefcbb

Browse files
committed
Make this test verbose.
1 parent 9b9ea91 commit 3fefcbb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

tests/helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def cleanup():
8282
import manhole
8383

8484
if test_name == 'test_environ_variable_activation':
85+
print(f'Sleeping {TIMEOUT} seconds...')
8586
time.sleep(TIMEOUT)
8687
elif test_name == 'test_install_twice_not_strict':
8788
manhole.install(oneshot_on='USR2')

tests/test_manhole.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,11 @@ def test_interrupt_on_accept():
490490

491491
def test_environ_variable_activation():
492492
with TestProcess(
493-
sys.executable, '-u', HELPER, 'test_environ_variable_activation', env=dict(os.environ, PYTHONMANHOLE="oneshot_on='USR2'")
493+
sys.executable,
494+
'-u',
495+
HELPER,
496+
'test_environ_variable_activation',
497+
env=dict(os.environ, PYTHONMANHOLE="oneshot_on='USR2',verbose=True"),
494498
) as proc:
495499
with dump_on_error(proc.read):
496500
wait_for_strings(proc.read, TIMEOUT, 'Not patching os.fork and os.forkpty. Oneshot activation is done by signal')

0 commit comments

Comments
 (0)