From 0dd1b63746c12bfb7a8623e8f2f442494f18450d Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Mon, 11 Feb 2008 17:55:01 +0000 Subject: Renamed test_format to test__format__, since it really tests the __format__ method. It was hiding another method of the same name. --- Lib/test/test_long.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py index 8eb09d1..f98ba8d 100644 --- a/Lib/test/test_long.py +++ b/Lib/test/test_long.py @@ -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') -- cgit v0.12