Author: brett.cannon
Date: Tue Feb 27 00:33:27 2007
New Revision: 53973

Modified:
   python/branches/p3yk/Lib/test/test_traceback.py
Log:
Fix a broken test in test_traceback where the module name was being tacked on
needlessly.


Modified: python/branches/p3yk/Lib/test/test_traceback.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_traceback.py     (original)
+++ python/branches/p3yk/Lib/test/test_traceback.py     Tue Feb 27 00:33:27 2007
@@ -118,9 +118,7 @@
         err = traceback.format_exception_only(X, X())
         self.assertEqual(len(err), 1)
         str_value = '<unprintable %s object>' % X.__name__
-        self.assertEqual(err[0], "%s.%s: %s\n" % (X.__module__,
-                                                  X.__name__,
-                                                  str_value))
+        self.assertEqual(err[0], "%s: %s\n" % ( X.__name__, str_value))
 
     def test_without_exception(self):
         err = traceback.format_exception_only(None, None)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to