]> git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/test_default.py
AppPkg/Applications/Python/Python-2.7.10: Initial Checkin part 4/5.
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Lib / json / tests / test_default.py
1 from json.tests import PyTest, CTest
2
3
4 class TestDefault(object):
5 def test_default(self):
6 self.assertEqual(
7 self.dumps(type, default=repr),
8 self.dumps(repr(type)))
9
10
11 class TestPyDefault(TestDefault, PyTest): pass
12 class TestCDefault(TestDefault, CTest): pass