8000 gh-130474: Create and implement flaky resource by floor-licker · Pull Request #130489 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-130474: Create and implement flaky resource #130489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change flaky to outer-decorator
  • Loading branch information
floor-licker committed Feb 23, 2025
commit 81cc32c9503e71ccd50cae1786f1cbae8b14502b
3 changes: 1 addition & 2 deletions Lib/test/test_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1348,13 +1348,12 @@ def handler(signum, frame):
# All ITIMER_REAL signals should have been delivered to the
# Python handler
self.assertEqual(len(sigs), N, "Some signals were lost")

@support.requires_resource('flaky')
@support.requires_gil_enabled("gh-121065: test is flaky on free-threaded build")
@unittest.skipIf(is_apple, "crashes due to system bug (FB13453490)")
@unittest.skipUnless(hasattr(signal, "SIGUSR1"),
"test needs SIGUSR1")
@threading_helper.requires_working_threading()
@support.requires_resource('flaky')
def test_stress_modifying_handlers(self):
# bpo-43406: race condition between trip_signal() and signal.signal
signum = signal.SIGUSR1
Expand Down
Loading
0