do not test exception message as it differs between Python versions
authorStefan Behnel <scoder@users.berlios.de>
Fri, 2 May 2008 07:04:32 +0000 (09:04 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 2 May 2008 07:04:32 +0000 (09:04 +0200)
tests/run/tuplereassign.pyx

index a2a9b0d728c6dae82bce21e7872b286baac10d31..bbd564684f98bb7cf776d51260a8e7f6c2d98009 100644 (file)
@@ -5,9 +5,9 @@ __doc__ = """
     3
     >>> test( (1,2,3) )
     3
-    >>> testnonsense()
+    >>> testnonsense()     # doctest: +ELLIPSIS
     Traceback (most recent call last):
-    TypeError: 'int' object is not iterable
+    TypeError: ...
 """
 
 def test1(t):