summaryrefslogtreecommitdiff
path: root/simplejson/tests/test_default.py
blob: d1eacb8c4c39fbdad1f24a026289314d0ea72884 (plain)
1
2
3
4
5
6
7
8
9
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)))