bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782) · python/cpython@833a706 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 833a706

miss-islingtonvstinner

and

authored

test_eintr no longer fails if the signal handler has not been called. (cherry picked from commit 2956bff) Co-authored-by: Victor Stinner vstinner@redhat.com

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -69,8 +69,6 @@ def tearDown(self):
69 69 signal.signal(signal.SIGALRM, self.orig_handler)
70 70 if hasattr(faulthandler, 'cancel_dump_traceback_later'):
71 71 faulthandler.cancel_dump_traceback_later()
72 -# make sure that at least one signal has been received
73 -self.assertGreater(self.signals, 0)
74 72
75 73 def subprocess(self, *args, **kw):
76 74 cmd_args = (sys.executable, '-c') + args