jcgregorio@wpgntai-ubiq72.hot.corp.google.com | ed13252 | 2010-04-19 11:12:52 -0700 | [diff] [blame] | 1 | from unittest import TestCase |
2 | |||||
3 | import simplejson as json | ||||
4 | |||||
5 | class TestDefault(TestCase): | ||||
6 | def test_default(self): | ||||
7 | self.assertEquals( | ||||
8 | json.dumps(type, default=repr), | ||||
9 | json.dumps(repr(type))) |