Use stderr instead of stdout for warning.

This commit is contained in:
Stefan Krah 2010-05-15 09:34:50 +00:00
parent f7b5def8b4
commit 686e56bcf1
1 changed files with 1 additions and 1 deletions

View File

@ -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