Skip to content

Commit 2e7ab9d

Browse files
authored
Merge pull request #6654 from jorrit-wehelp/patch-1
Fix test with STRICT_JSON setting
2 parents be5a9f7 + 3a21b39 commit 2e7ab9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def test_loads(self):
189189
json.loads("NaN")
190190

191191

192-
@override_settings(STRICT_JSON=False)
192+
@override_settings(REST_FRAMEWORK={'STRICT_JSON': False})
193193
class NonStrictJsonFloatTests(JsonFloatTests):
194194
"""
195195
'STRICT_JSON = False' should not somehow affect internal json behavior

0 commit comments

Comments
 (0)