Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"

format unit.
This commit is contained in:
Serhiy Storchaka 2016-05-20 22:31:14 +03:00
parent 3dc5129d4f
commit 13e602ea0f
4 changed files with 173 additions and 55 deletions

View file

@ -236,6 +236,9 @@ class CAPITest(unittest.TestCase):
'return_result_with_error.* '
'returned a result with an error set')
def test_buildvalue_N(self):
_testcapi.test_buildvalue_N()
@unittest.skipUnless(threading, 'Threading required for this test.')
class TestPendingCalls(unittest.TestCase):