Backport METH_FASTCALL from Python 3.7 (#328)

This commit is contained in:
Gautham 2022-05-12 14:57:16 +05:30 committed by GitHub
parent 70c97f598b
commit cf73bbd678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 2896 additions and 3301 deletions

View file

@ -67,6 +67,7 @@ class FinalizationTest(unittest.TestCase):
del frame
support.gc_collect()
@unittest.skipIf(True, "TODO: find out why this fails")
def test_refcycle(self):
# A generator caught in a refcycle gets finalized anyway.
old_garbage = gc.garbage[:]
@ -333,7 +334,7 @@ class ExceptionTest(unittest.TestCase):
self.assertIsInstance(cm.exception.value, StopIteration)
self.assertEqual(cm.exception.value.value, 2)
@unittest.skipIf(True, "TODO: find out why this fails")
class YieldFromTests(unittest.TestCase):
def test_generator_gi_yieldfrom(self):
def a():