From: Thomas Heller Date: Thu, 12 Jul 2007 19:42:59 +0000 (+0000) Subject: Simple fixes. X-Git-Tag: v3.0a1~656 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0d8b6eee9762eba3e3c075ddba1c5542e0e64b9;p=thirdparty%2FPython%2Fcpython.git Simple fixes. --- diff --git a/Lib/ctypes/test/test_repr.py b/Lib/ctypes/test/test_repr.py index f6f936665025..383082f83187 100644 --- a/Lib/ctypes/test/test_repr.py +++ b/Lib/ctypes/test/test_repr.py @@ -22,7 +22,7 @@ class ReprTest(unittest.TestCase): self.failUnlessEqual(": " - "expected string or Unicode object, int found") - else: - self.failUnlessEqual(msg, - "(Phone) TypeError: " - "expected string or Unicode object, int found") + self.failUnlessEqual(msg, + "(Phone) : " + "expected string, int found") cls, msg = self.get_except(Person, "Someone", ("a", "b", "c")) self.failUnlessEqual(cls, RuntimeError)