bpo-29845: Mark tests that use _testcapi as CPython-only (#711)

This commit is contained in:
Serhiy Storchaka 2017-03-19 20:20:10 +02:00 committed by GitHub
parent 6b5a9ec478
commit 24c738a9e9
5 changed files with 8 additions and 1 deletions

View file

@ -865,6 +865,7 @@ class TestCommandLine(unittest.TestCase):
b'number of frames',
stderr)
@unittest.skipIf(_testcapi is None, 'need _testcapi')
def test_pymem_alloc0(self):
# Issue #21639: Check that PyMem_Malloc(0) with tracemalloc enabled
# does not crash.