mirror of https://github.com/python/cpython
Use stderr instead of stdout for warning.
This commit is contained in:
parent
f7b5def8b4
commit
686e56bcf1
|
@ -450,7 +450,7 @@ class ItimerTest(unittest.TestCase):
|
|||
if signal.getitimer(self.itimer) == (0.0, 0.0):
|
||||
break # sig_vtalrm handler stopped this itimer
|
||||
else: # Issue 8424
|
||||
sys.stdout.write("test_itimer_virtual: timeout: likely cause: "
|
||||
sys.stderr.write("test_itimer_virtual: timeout: likely cause: "
|
||||
"machine too slow or load too high.\n")
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue