Skip to content

Commit 2956bff

Browse files
authored
bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782)
test_eintr no longer fails if the signal handler has not been called.
1 parent 48498dd commit 2956bff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/eintrdata/eintr_tester.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ def tearDown(self):
6969
signal.signal(signal.SIGALRM, self.orig_handler)
7070
if hasattr(faulthandler, 'cancel_dump_traceback_later'):
7171
faulthandler.cancel_dump_traceback_later()
72-
# make sure that at least one signal has been received
73-
self.assertGreater(self.signals, 0)
7472

7573
def subprocess(self, *args, **kw):
7674
cmd_args = (sys.executable, '-c') + args

0 commit comments

Comments
 (0)