]> granicus.if.org Git - python/commitdiff
Renamed test_format to test__format__, since it really tests the __format__ method...
authorEric Smith <eric@trueblade.com>
Mon, 11 Feb 2008 17:55:01 +0000 (17:55 +0000)
committerEric Smith <eric@trueblade.com>
Mon, 11 Feb 2008 17:55:01 +0000 (17:55 +0000)
Lib/test/test_long.py

index 8eb09d155e569e298406851390b01cc4821b3eb2..f98ba8deac2f0d24a9e2d5e6dba0f2cb71e461b8 100644 (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')