bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782) · python/cpython@833a706 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 833a706
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
Lines changed: 0 additions & 2 deletions
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 |