1from unittest import TestCase 2 3import simplejson as json 4 5class TestDefault(TestCase): 6 def test_default(self): 7 self.assertEqual( 8 json.dumps(type, default=repr), 9 json.dumps(repr(type))) 10