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

(cherry picked from commit 24c738a9e9)
This commit is contained in:
Serhiy Storchaka 2017-03-19 20:53:42 +02:00 committed by GitHub
parent fca705d533
commit da88596a19
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):
good_values = [ 1, 2, 3, 1, 2, 3 ]
bad_values = [ -1, -2, -3, -1, -2, -3 ]