Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
index 61195a5..b29869a 100644
--- a/Lib/test/test_traceback.py
+++ b/Lib/test/test_traceback.py
@@ -4,7 +4,6 @@
from StringIO import StringIO
import sys
import unittest
-from imp import reload
from test.test_support import run_unittest, is_jython, Error
import traceback
@@ -149,7 +148,7 @@
def test_format_exception_only_bad__str__(self):
class X(Exception):
def __str__(self):
- 1 // 0
+ 1/0
err = traceback.format_exception_only(X, X())
self.assertEqual(len(err), 1)
str_value = '<unprintable %s object>' % X.__name__