mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 21:24:33 +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")
|
json.loads("NaN")
|
||||||
|
|
||||||
|
|
||||||
@override_settings(STRICT_JSON=False)
|
@override_settings(REST_FRAMEWORK={'STRICT_JSON': False})
|
||||||
class NonStrictJsonFloatTests(JsonFloatTests):
|
class NonStrictJsonFloatTests(JsonFloatTests):
|
||||||
"""
|
"""
|
||||||
'STRICT_JSON = False' should not somehow affect internal json behavior
|
'STRICT_JSON = False' should not somehow affect internal json behavior
|
||||||
|
|
Loading…
Reference in New Issue
Block a user