Commit 2f5a78c5 authored by Ezio Melotti's avatar Ezio Melotti

Remove test for unicode(e) converted to str(e) by 2to3

parent 8ae535ba
......@@ -399,13 +399,11 @@ class ExceptionTests(unittest.TestCase):
return -1
self.assertRaises(RuntimeError, g)
def testUnicodeStrUsage(self):
# Make sure both instances and classes have a str and unicode
# representation.
def test_str(self):
# Make sure both instances and classes have a str representation.
self.assertTrue(str(Exception))
self.assertTrue(str(Exception))
self.assertTrue(str(Exception('a')))
self.assertTrue(str(Exception('a')))
self.assertTrue(str(Exception('a', 'b')))
def testExceptionCleanupNames(self):
# Make sure the local variable bound to the exception instance by
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment