symbian-qemu-0.9.1-12/python-2.6.1/Lib/json/tests/test_default.py
author William Roberts <williamr@symbian.org>
Fri, 07 Aug 2009 11:20:16 +0100
changeset 7 b016402e601c
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Fix E32PATH to make bootstrap compile correctly, tidy up other extension option paths

from unittest import TestCase

import json

class TestDefault(TestCase):
    def test_default(self):
        self.assertEquals(
            json.dumps(type, default=repr),
            json.dumps(repr(type)))