diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-30 03:03:30 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-30 03:03:30 (GMT) |
commit | ff27ee0b400030419cfd3c9966f275bfbcb569f8 (patch) | |
tree | c2e45325768bd5256432667c387f304d549493e6 /Lib/json/tests/test_pass2.py | |
parent | 69b34bfe9c3e5da1d7336a607ab56f1c3a178dca (diff) | |
download | cpython-ff27ee0b400030419cfd3c9966f275bfbcb569f8.zip cpython-ff27ee0b400030419cfd3c9966f275bfbcb569f8.tar.gz cpython-ff27ee0b400030419cfd3c9966f275bfbcb569f8.tar.bz2 |
Issue #10572: Moved json tests to Lib/test/json_tests.
Approved by Raymond Hettinger.
Diffstat (limited to 'Lib/json/tests/test_pass2.py')
-rw-r--r-- | Lib/json/tests/test_pass2.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Lib/json/tests/test_pass2.py b/Lib/json/tests/test_pass2.py deleted file mode 100644 index 379117e..0000000 --- a/Lib/json/tests/test_pass2.py +++ /dev/null @@ -1,14 +0,0 @@ -from unittest import TestCase -import json - -# from http://json.org/JSON_checker/test/pass2.json -JSON = r''' -[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] -''' - -class TestPass2(TestCase): - def test_parse(self): - # test in/out equivalence and parsing - res = json.loads(JSON) - out = json.dumps(res) - self.assertEqual(res, json.loads(out)) |