Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 69c0db5050f623e8895b72dfe970392b1f9a0e2e authored by Ned Deily on 21 March 2017, 06:32:38 UTC
Update docs and patchlevel for 3.6.1 final
Tip revision: 69c0db5
test_default.py
from test.test_json 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