Skip to content

Commit

Permalink
Downgrade to simplejson 3.17.2. (#123)
Browse files Browse the repository at this point in the history
* Downgrade to simplejson 3.17.2.

* Fix test formatting.
  • Loading branch information
briensea authored Oct 26, 2023
1 parent 8e3bb0c commit 8db75c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
simplejson==3.17.6
simplejson==3.17.2
4 changes: 3 additions & 1 deletion tests/test_lambda_runtime_marshaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ def test_to_json_unicode_encoding(self):
response = to_json({"price": "£1.00"})
self.assertEqual('{"price": "£1.00"}', response)
self.assertNotEqual('{"price": "\\u00a31.00"}', response)
self.assertEqual(19, len(response.encode('utf-8'))) # would be 23 bytes if a unicode escape was returned
self.assertEqual(
19, len(response.encode("utf-8"))
) # would be 23 bytes if a unicode escape was returned

0 comments on commit 8db75c5

Please sign in to comment.