diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-20 19:31:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-20 19:31:14 (GMT) |
commit | 13e602ea0f08e8c04d635356375d1d2ab5a9b964 (patch) | |
tree | 1c6c4f354fbed67740dc674f4057537a8e682394 /Lib/test/test_capi.py | |
parent | 3dc5129d4fd26d97c1cd8176f6e085db99e38036 (diff) | |
download | cpython-13e602ea0f08e8c04d635356375d1d2ab5a9b964.zip cpython-13e602ea0f08e8c04d635356375d1d2ab5a9b964.tar.gz cpython-13e602ea0f08e8c04d635356375d1d2ab5a9b964.tar.bz2 |
Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r-- | Lib/test/test_capi.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 96666d1..d262d99 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -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): |