Renamed test_format to test__format__, since it really tests the __format__ method. It was hiding another method of the same name.

This commit is contained in:
Eric Smith 2008-02-11 17:55:01 +00:00
parent 3feef61742
commit 0dd1b63746
1 changed files with 1 additions and 1 deletions

View File

@ -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')