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()))
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins