diff options
| author | Raymond Hettinger <python@rcn.com> | 2008-02-14 02:41:22 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2008-02-14 02:41:22 (GMT) |
| commit | abe32371878dcaea31c835e10144fdaa2eca6492 (patch) | |
| tree | bdae3e7c9e3e76006f2dddb29f7715f8cf561396 /Lib/test/test_decimal.py | |
| parent | ddb164a6512947ecce6923aac95488c40173041e (diff) | |
| download | cpython-abe32371878dcaea31c835e10144fdaa2eca6492.zip cpython-abe32371878dcaea31c835e10144fdaa2eca6492.tar.gz cpython-abe32371878dcaea31c835e10144fdaa2eca6492.tar.bz2 | |
Fix decimal repr which should have used single quotes like other reprs.
Diffstat (limited to 'Lib/test/test_decimal.py')
| -rw-r--r-- | Lib/test/test_decimal.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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. |
