Issue #10572: Moved json tests to Lib/test/json_tests.

Approved by Raymond Hettinger.
This commit is contained in:
Alexander Belopolsky 2010-11-30 03:03:30 +00:00
parent 69b34bfe9c
commit ff27ee0b40
18 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,9 @@
from unittest import TestCase
import json
class TestDefault(TestCase):
def test_default(self):
self.assertEqual(
json.dumps(type, default=repr),
json.dumps(repr(type)))