Skip to content

Commit 8db75c5

Browse files
authored
Downgrade to simplejson 3.17.2. (#123)
* Downgrade to simplejson 3.17.2. * Fix test formatting.
1 parent 8e3bb0c commit 8db75c5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: requirements/base.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
simplejson==3.17.6
1+
simplejson==3.17.2

Diff for: tests/test_lambda_runtime_marshaller.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,6 @@ def test_to_json_unicode_encoding(self):
4242
response = to_json({"price": "£1.00"})
4343
self.assertEqual('{"price": "£1.00"}', response)
4444
self.assertNotEqual('{"price": "\\u00a31.00"}', response)
45-
self.assertEqual(19, len(response.encode('utf-8'))) # would be 23 bytes if a unicode escape was returned
45+
self.assertEqual(
46+
19, len(response.encode("utf-8"))
47+
) # would be 23 bytes if a unicode escape was returned

0 commit comments

Comments
 (0)