[issue18049] Re-enable threading test on macOS
Ronald Oussoren
report at bugs.python.org
Thu Aug 1 16:08:21 EDT 2019
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
The patch to fix this should be:
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 1466d25e94..658bc1c7a0 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -1057,6 +1057,7 @@ class ThreadingExceptionTests(BaseTestCase):
lock = threading.Lock()
self.assertRaises(RuntimeError, lock.release)
+ @unittest.skipUnless(sys.platform == 'darwin', 'test macos problem')
def test_recursion_limit(self):
# Issue 9670
# test that excessive recursion within a non-main thread causes
---
PR will follow after I've run tests locally, I'll probably create the PR in the morning.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18049>
_______________________________________
More information about the Python-bugs-list
mailing list