Add simplejson 3.17.0
* Needed for requests to encode byte-strings to json
This commit is contained in:
9
lib/simplejson/tests/test_default.py
Normal file
9
lib/simplejson/tests/test_default.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from unittest import TestCase
|
||||
|
||||
import simplejson as json
|
||||
|
||||
class TestDefault(TestCase):
|
||||
def test_default(self):
|
||||
self.assertEqual(
|
||||
json.dumps(type, default=repr),
|
||||
json.dumps(repr(type)))
|
Reference in New Issue
Block a user