Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 4eb5f1a56702399ea3bc4553433e7ca9b37be18c authored by Georg Brandl on 25 March 2013, 05:56:31 UTC
merge with main repo 3.2 branch
Tip revision: 4eb5f1a
test_default.py
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
back to top