Commit adfda0f9 authored by Eric Smith's avatar Eric Smith

Renamed test_format to test__format__, since it really tests the __format__...

Renamed test_format to test__format__, since it really tests the __format__ method.  It was hiding another method of the same name.
parent 52eceb8a
......@@ -482,7 +482,7 @@ class LongTest(unittest.TestCase):
eq(x > y, Rcmp > 0, Frm("%r > %r %d", x, y, Rcmp))
eq(x >= y, Rcmp >= 0, Frm("%r >= %r %d", x, y, Rcmp))
def test_format(self):
def test__format__(self):
self.assertEqual(format(123456789, 'd'), '123456789')
self.assertEqual(format(123456789, 'd'), '123456789')
......
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