mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Merge pull request #6654 from jorrit-wehelp/patch-1
Fix test with STRICT_JSON setting
This commit is contained in:
commit
2e7ab9d6c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user