summaryrefslogtreecommitdiff
path: root/Lib/json/tests/test_default.py
blob: 6a03eeb834d619e8cbcbb6f8eac354317aab8cb5 (plain)
1
2
3
4
5
6
7
8
9
from unittest import TestCase

import json

class TestDefault(TestCase):
    def test_default(self):
        self.assertEqual(
            json.dumps(type, default=repr),
            json.dumps(repr(type)))