From 9f98455362393e193f3a81588476d9352f871283 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 22 Feb 2013 22:22:29 +0000 Subject: [PATCH] Formatting --- rest_framework/tests/serializer.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rest_framework/tests/serializer.py b/rest_framework/tests/serializer.py index e85323e0c..ee415eeab 100644 --- a/rest_framework/tests/serializer.py +++ b/rest_framework/tests/serializer.py @@ -954,11 +954,12 @@ class SerializerPickleTests(TestCase): pickle.dumps(InnerPersonSerializer(Person(name="Noah", age=950)).data) def test_getstate_method_should_not_return_none(self): - '''Regression test for + """ + Regression test for https://github.com/tomchristie/django-rest-framework/issues/645 - ''' - d = serializers.DictWithMetadata({1:1}) - self.assertEqual(d.__getstate__(), serializers.SortedDict({1:1})) + """ + d = serializers.DictWithMetadata({1: 1}) + self.assertEqual(d.__getstate__(), serializers.SortedDict({1: 1})) class DepthTest(TestCase):