File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ def handler(signum, frame):
383383 except ZeroDivisionError:
384384 # An ignored exception should have been printed out on stderr
385385 err = err.getvalue()
386- if ('Exception ignored when trying to write to the signal wakeup fd'
386+ if ('Exception ignored while trying to write to the signal wakeup fd'
387387 not in err):
388388 raise AssertionError(err)
389389 if ('OSError: [Errno %d]' % errno.EBADF) not in err:
@@ -572,7 +572,7 @@ def handler(signum, frame):
572572 signal.raise_signal(signum)
573573
574574 err = err.getvalue()
575- if ('Exception ignored when trying to {action} to the signal wakeup fd'
575+ if ('Exception ignored while trying to {action} to the signal wakeup fd'
576576 not in err):
577577 raise AssertionError(err)
578578 """ .format (action = action )
@@ -642,7 +642,7 @@ def handler(signum, frame):
642642 "buffer" % written)
643643
644644 # By default, we get a warning when a signal arrives
645- msg = ('Exception ignored when trying to {action} '
645+ msg = ('Exception ignored while trying to {action} '
646646 'to the signal wakeup fd')
647647 signal.set_wakeup_fd(write.fileno())
648648
You can’t perform that action at this time.
0 commit comments