Kaydet (Commit) abe32371 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

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

üst ddb164a6
This diff is collapsed.
This diff is collapsed.
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment