mirror of
https://github.com/python/cpython.git
synced 2025-10-05 06:31:48 +00:00
(cherry picked from commit 24c738a9e9
)
This commit is contained in:
parent
fca705d533
commit
da88596a19
5 changed files with 8 additions and 1 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue