mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix newly merged test for p3ykness.
This commit is contained in:
parent
dcc6d32ee4
commit
d8073285ff
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Signed_TestCase(unittest.TestCase):
|
|||
from _testcapi import getargs_n
|
||||
# n returns 'Py_ssize_t', and does range checking
|
||||
# (PY_SSIZE_T_MIN ... PY_SSIZE_T_MAX)
|
||||
self.failUnlessEqual(3, getargs_n(3.14))
|
||||
self.assertRaises(TypeError, getargs_n, 3.14)
|
||||
self.failUnlessEqual(99, getargs_n(Long()))
|
||||
self.failUnlessEqual(99, getargs_n(Int()))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue