openmedialibrary_platform_w.../Lib/site-packages/simplejson/tests/test_default.py

10 lines
221 B
Python
Raw Permalink Normal View History

2016-01-31 14:44:46 +00:00
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)))