diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-29 00:34:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 00:34:51 (GMT) |
commit | 2956bffbc00127af65f69e04d7979021a21d1288 (patch) | |
tree | 5881129e6a45842bb90971ae044689cbd6faad04 /Lib | |
parent | 48498dd57f79ab1d061c754ad6a2ebe1a7172b0e (diff) | |
download | cpython-2956bffbc00127af65f69e04d7979021a21d1288.zip cpython-2956bffbc00127af65f69e04d7979021a21d1288.tar.gz cpython-2956bffbc00127af65f69e04d7979021a21d1288.tar.bz2 |
bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782)
test_eintr no longer fails if the signal handler has not been called.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/eintrdata/eintr_tester.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py index c2eaf01..aa7cfd1 100644 --- a/Lib/test/eintrdata/eintr_tester.py +++ b/Lib/test/eintrdata/eintr_tester.py @@ -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 |