[Python-3000-checkins] r45601 - python/branches/p3yk/Lib/test/test_getargs2.py
thomas.wouters
python-3000-checkins at python.org
Fri Apr 21 13:36:14 CEST 2006
Author: thomas.wouters
Date: Fri Apr 21 13:36:13 2006
New Revision: 45601
Modified:
python/branches/p3yk/Lib/test/test_getargs2.py
Log:
Fix newly merged test for p3ykness.
Modified: python/branches/p3yk/Lib/test/test_getargs2.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_getargs2.py (original)
+++ python/branches/p3yk/Lib/test/test_getargs2.py Fri Apr 21 13:36:13 2006
@@ -186,7 +186,7 @@
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()))
More information about the Python-3000-checkins
mailing list