PATH:
opt
/
bitninja-python-dojo
/
embedded
/
lib
/
python3.9
/
test
/
test_json
from test.test_json import PyTest, CTest # from http://json.org/JSON_checker/test/pass2.json JSON = r''' [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] ''' class TestPass2: def test_parse(self): # test in/out equivalence and parsing res = self.loads(JSON) out = self.dumps(res) self.assertEqual(res, self.loads(out)) class TestPyPass2(TestPass2, PyTest): pass class TestCPass2(TestPass2, CTest): pass
[-] test_separators.py
[edit]
[-] test_speedups.py
[edit]
[-] test_indent.py
[edit]
[-] test_decode.py
[edit]
[-] test_dump.py
[edit]
[+]
..
[-] test_unicode.py
[edit]
[-] test_float.py
[edit]
[-] test_encode_basestring_ascii.py
[edit]
[-] __main__.py
[edit]
[-] test_default.py
[edit]
[-] test_fail.py
[edit]
[-] test_tool.py
[edit]
[-] test_enum.py
[edit]
[+]
__pycache__
[-] test_pass3.py
[edit]
[-] test_pass2.py
[edit]
[-] __init__.py
[edit]
[-] test_scanstring.py
[edit]
[-] test_recursion.py
[edit]
[-] test_pass1.py
[edit]