diff options
author | Eric Smith <eric@trueblade.com> | 2008-02-11 17:55:01 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-02-11 17:55:01 (GMT) |
commit | 0dd1b63746c12bfb7a8623e8f2f442494f18450d (patch) | |
tree | 52575fa594485d219a58c8906f6392580536f29a /Lib/test/test_long.py | |
parent | 3feef61742facb3cbf53f9df1cb89062452597f2 (diff) | |
download | cpython-0dd1b63746c12bfb7a8623e8f2f442494f18450d.zip cpython-0dd1b63746c12bfb7a8623e8f2f442494f18450d.tar.gz cpython-0dd1b63746c12bfb7a8623e8f2f442494f18450d.tar.bz2 |
Renamed test_format to test__format__, since it really tests the __format__ method. It was hiding another method of the same name.
Diffstat (limited to 'Lib/test/test_long.py')
-rw-r--r-- | Lib/test/test_long.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |