Bug 777068 - Move simplejson to python/; r=glandium
This commit is contained in:
9
python/simplejson-2.1.1/simplejson/tests/test_default.py
Normal file
9
python/simplejson-2.1.1/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.assertEquals(
|
||||
json.dumps(type, default=repr),
|
||||
json.dumps(repr(type)))
|
||||
Reference in New Issue
Block a user