Fix decimal repr which should have used single quotes like other reprs.

This commit is contained in:
Raymond Hettinger 2008-02-14 02:41:22 +00:00
parent ddb164a651
commit abe3237187
3 changed files with 334 additions and 334 deletions

View file

@ -1049,7 +1049,7 @@ class DecimalUsabilityTest(unittest.TestCase):
d = Decimal('15.32')
self.assertEqual(str(d), '15.32') # str
self.assertEqual(repr(d), 'Decimal("15.32")') # repr
self.assertEqual(repr(d), "Decimal('15.32')") # repr
def test_tonum_methods(self):
#Test float, int and long methods.