diff options
author | Thomas Wouters <thomas@python.org> | 2006-04-21 11:36:13 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-04-21 11:36:13 (GMT) |
commit | d8073285ffd92eefee1546d2bbe7156eb957e5d7 (patch) | |
tree | 56ba627ece9d2be2a7048caf241f446f753846b7 /Lib/test/test_getargs2.py | |
parent | dcc6d32ee4b9e7517da2af4975dbd273b8cf556b (diff) | |
download | cpython-d8073285ffd92eefee1546d2bbe7156eb957e5d7.zip cpython-d8073285ffd92eefee1546d2bbe7156eb957e5d7.tar.gz cpython-d8073285ffd92eefee1546d2bbe7156eb957e5d7.tar.bz2 |
Fix newly merged test for p3ykness.
Diffstat (limited to 'Lib/test/test_getargs2.py')
-rw-r--r-- | Lib/test/test_getargs2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_getargs2.py b/Lib/test/test_getargs2.py index 748ad44..8864e8e 100644 --- a/Lib/test/test_getargs2.py +++ b/Lib/test/test_getargs2.py @@ -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())) |