openmedialibrary_platform_w.../Lib/site-packages/simplejson/tests/test_default.py
2016-01-31 20:14:46 +05:30

9 lines
221 B
Python

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)))