mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-128657: Skip test_get_builtin_constructor when running with --parallel-threads (GH-130018)
The test modifies sys.modules and is not thread-safe.
This commit is contained in:
parent
1a8082a4bf
commit
1f233f56d6
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ class HashLibTestCase(unittest.TestCase):
|
|||
def test_new_upper_to_lower(self):
|
||||
self.assertEqual(hashlib.new("SHA256").name, "sha256")
|
||||
|
||||
@support.thread_unsafe("modifies sys.modules")
|
||||
def test_get_builtin_constructor(self):
|
||||
get_builtin_constructor = getattr(hashlib,
|
||||
'__get_builtin_constructor')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue