rana-cli/wakatime/packages/simplejson/tests/test_default.py

10 lines
221 B
Python
Raw Normal View History

2013-09-07 05:46:52 +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)))