blob: 672c753fbf75c28eab67c3330cc4bd9881890977 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from test.json_tests import PyTest, CTest
class TestDefault:
def test_default(self):
self.assertEqual(
self.dumps(type, default=repr),
self.dumps(repr(type)))
class TestPyDefault(TestDefault, PyTest): pass
class TestCDefault(TestDefault, CTest): pass
|