bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782)

test_eintr no longer fails if the signal handler has not been called.
This commit is contained in:
Victor Stinner 2018-11-29 01:34:51 +01:00 committed by GitHub
parent 48498dd57f
commit 2956bffbc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -69,8 +69,6 @@ class EINTRBaseTest(unittest.TestCase):
signal.signal(signal.SIGALRM, self.orig_handler)
if hasattr(faulthandler, 'cancel_dump_traceback_later'):
faulthandler.cancel_dump_traceback_later()
# make sure that at least one signal has been received
self.assertGreater(self.signals, 0)
def subprocess(self, *args, **kw):
cmd_args = (sys.executable, '-c') + args