]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129441: Fix some flakiness in test_instrumentation (gh-141881)
authorSam Gross <colesbury@gmail.com>
Mon, 24 Nov 2025 16:19:07 +0000 (11:19 -0500)
committerGitHub <noreply@github.com>
Mon, 24 Nov 2025 16:19:07 +0000 (11:19 -0500)
commit71126ab19c76d8227fc3b9c7c59b957ca82af4dd
tree09ba5b37c1990519cde1be441f696f47e0f1d068
parentc490ffb7ac43e7132f866103cefd872afa067a6a
gh-129441: Fix some flakiness in test_instrumentation (gh-141881)

Most of the `self.assertTrue(self.called)` checks are flaky because
the worker threads may sometimes finish before the main thread calls
`self.during_threads()`.
Lib/test/test_free_threading/test_monitoring.py