commit | abe32371878dcaea31c835e10144fdaa2eca6492 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Feb 14 02:41:22 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Feb 14 02:41:22 2008 +0000 |
tree | bdae3e7c9e3e76006f2dddb29f7715f8cf561396 | |
parent | ddb164a6512947ecce6923aac95488c40173041e [diff] [blame] |
Fix decimal repr which should have used single quotes like other reprs.
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index 3b15df7..e5f7f64 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py
@@ -1049,7 +1049,7 @@ 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.