diff options
| author | chillaranand <anand21nanda@gmail.com> | 2017-01-21 18:43:44 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-25 12:23:46 -0500 |
| commit | d6eaf7c0183cd04b78f2a55e1d60bb7e59598310 (patch) | |
| tree | ab02fd9949d4bfa23e27dea45e213ce334c883f0 /tests/serializers/test_json.py | |
| parent | dc165ec8e5698ffc6dee6b510f1f92c9fd7467fe (diff) | |
Refs #23919 -- Replaced super(ClassName, self) with super().
Diffstat (limited to 'tests/serializers/test_json.py')
| -rw-r--r-- | tests/serializers/test_json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serializers/test_json.py b/tests/serializers/test_json.py index 7713e0c3c4..ae671f4847 100644 --- a/tests/serializers/test_json.py +++ b/tests/serializers/test_json.py @@ -86,7 +86,7 @@ class JsonSerializerTestCase(SerializersTestBase, TestCase): def default(self, o): if isinstance(o, decimal.Decimal): return str(o) - return super(CustomJSONEncoder, self).default(o) + return super().default(o) s = serializers.json.Serializer() json_data = s.serialize( |
