diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-20 19:31:50 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-20 19:31:50 (GMT) |
commit | 2a95219bc42ff23724d3230f3bcdb2584cd07914 (patch) | |
tree | 075bca187f96831e77ebae65720eaaa35e682532 /Lib/test/test_capi.py | |
parent | da23056a3ed33d2ae69752f7d113059333176297 (diff) | |
parent | 13e602ea0f08e8c04d635356375d1d2ab5a9b964 (diff) | |
download | cpython-2a95219bc42ff23724d3230f3bcdb2584cd07914.zip cpython-2a95219bc42ff23724d3230f3bcdb2584cd07914.tar.gz cpython-2a95219bc42ff23724d3230f3bcdb2584cd07914.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 8f4836a..a7a3df7 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -238,6 +238,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): |