Merge pull request #6654 from jorrit-wehelp/patch-1

Fix test with STRICT_JSON setting
This commit is contained in:
Xavier Ordoquy 2019-05-08 18:14:27 +02:00 committed by GitHub
commit 2e7ab9d6c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ class JsonFloatTests(TestCase):
json.loads("NaN")
@override_settings(STRICT_JSON=False)
@override_settings(REST_FRAMEWORK={'STRICT_JSON': False})
class NonStrictJsonFloatTests(JsonFloatTests):
"""
'STRICT_JSON = False' should not somehow affect internal json behavior