gecko/testing/mozmill/simplejson-2.1.1/simplejson/tests/test_default.py

10 lines
222 B
Python

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