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

@ -906,6 +906,7 @@ class GeneralModuleTests(unittest.TestCase):
self.assertEqual(swapped & mask, mask)
self.assertRaises(OverflowError, func, 1<<34)
@support.cpython_only
def testNtoHErrors(self):
import _testcapi
s_good_values = [0, 1, 2, 0xffff]