diff options
Diffstat (limited to 'djangorestframework/tests/serializer.py')
| -rw-r--r-- | djangorestframework/tests/serializer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/serializer.py b/djangorestframework/tests/serializer.py index 783e941e..9f629050 100644 --- a/djangorestframework/tests/serializer.py +++ b/djangorestframework/tests/serializer.py @@ -18,7 +18,7 @@ class TestObjectToData(TestCase): def test_decimal(self): """Decimals need to be converted to a string representation.""" - self.assertEquals(self.serialize(decimal.Decimal('1.5')), '1.5') + self.assertEquals(self.serialize(decimal.Decimal('1.5')), decimal.Decimal('1.5')) def test_function(self): """Functions with no arguments should be called.""" |
