mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Revert "Backport METH_FASTCALL from Python 3.7 (#328)"
This reverts commit cf73bbd678
.
This commit is contained in:
parent
e7611a8476
commit
2ea1dc405c
102 changed files with 3299 additions and 2894 deletions
3
third_party/python/Lib/test/test_weakref.py
vendored
3
third_party/python/Lib/test/test_weakref.py
vendored
|
@ -1660,7 +1660,6 @@ class MappingTestCase(TestBase):
|
|||
dict = weakref.WeakKeyDictionary()
|
||||
self.assertRegex(repr(dict), '<WeakKeyDictionary at 0x.*>')
|
||||
|
||||
@unittest.skipIf(True, "threading not yet implemented")
|
||||
def test_threaded_weak_valued_setdefault(self):
|
||||
d = weakref.WeakValueDictionary()
|
||||
with collect_in_thread():
|
||||
|
@ -1669,7 +1668,6 @@ class MappingTestCase(TestBase):
|
|||
self.assertIsNot(x, None) # we never put None in there!
|
||||
del x
|
||||
|
||||
@unittest.skipIf(True, "threading not yet implemented")
|
||||
def test_threaded_weak_valued_pop(self):
|
||||
d = weakref.WeakValueDictionary()
|
||||
with collect_in_thread():
|
||||
|
@ -1678,7 +1676,6 @@ class MappingTestCase(TestBase):
|
|||
x = d.pop(10, 10)
|
||||
self.assertIsNot(x, None) # we never put None in there!
|
||||
|
||||
@unittest.skipIf(True, "threading not yet implemented")
|
||||
def test_threaded_weak_valued_consistency(self):
|
||||
# Issue #28427: old keys should not remove new values from
|
||||
# WeakValueDictionary when collecting from another thread.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue