summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-04-21 11:36:13 (GMT)
committerThomas Wouters <thomas@python.org>2006-04-21 11:36:13 (GMT)
commitd8073285ffd92eefee1546d2bbe7156eb957e5d7 (patch)
tree56ba627ece9d2be2a7048caf241f446f753846b7 /Lib
parentdcc6d32ee4b9e7517da2af4975dbd273b8cf556b (diff)
downloadcpython-d8073285ffd92eefee1546d2bbe7156eb957e5d7.zip
cpython-d8073285ffd92eefee1546d2bbe7156eb957e5d7.tar.gz
cpython-d8073285ffd92eefee1546d2bbe7156eb957e5d7.tar.bz2
Fix newly merged test for p3ykness.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_getargs2.py2
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()))