• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1from json.tests import PyTest, CTest
2
3
4class TestDefault(object):
5    def test_default(self):
6        self.assertEqual(
7            self.dumps(type, default=repr),
8            self.dumps(repr(type)))
9
10
11class TestPyDefault(TestDefault, PyTest): pass
12class TestCDefault(TestDefault, CTest): pass
13