Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/json/tests/test_encode_basestring_ascii.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@s�ddlmZddlmZmZdddd d!d"d#d$d%d&d'd(d)d*d+d,gZdefd��YZdeefd��YZdeefd��YZ	dS(-i�(tOrderedDict(tPyTesttCTestu9/\"쫾몾ꮘﳞ볚

	`1~!@#$%^&*()_+-=[]{}|;:',./<>?sT"/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"uģ䕧覫췯ꯍs&"\u0123\u4567\u89ab\ucdef\uabcd\uef4a"ucontrolss
"controls"u

	s"\b\f\n\r\t"u1{"object with 1 member":["array with 1 element"]}s7"{\"object with 1 member\":[\"array with 1 element\"]}"u
 s p a c e d s" s p a c e d "u𝄠s"\ud834\udd20"uαΩs"\u03b1\u03a9"sαΩu`1~!@#$%^&*()_+-={':[,]}|;.</>?s!"`1~!@#$%^&*()_+-={':[,]}|;.</>?"tTestEncodeBasestringAsciicBseZd�Zd�ZRS(c	Csg|jjjj}xNtD]F\}}|jjj|�}|j||dj||||��qWdS(Ns{0!r} != {1!r} for {2}({3!r})(tjsontencodertencode_basestring_asciit__name__tCASEStassertEqualtformat(tselftfnametinput_stringtexpecttresult((s=/sys/lib/python2.7/json/tests/test_encode_basestring_ascii.pyttest_encode_basestring_asciiscCs>dd
dddg}|jt|��}|j|d�dS(Ntoneittwoitthreeitfouritfiveis6{"one": 1, "two": 2, "three": 3, "four": 4, "five": 5}(Ri(Ri(Ri(Ri(Ri(tdumpsRR	(Rtitemsts((s=/sys/lib/python2.7/json/tests/test_encode_basestring_ascii.pyttest_ordered_dict!s(Rt
__module__RR(((s=/sys/lib/python2.7/json/tests/test_encode_basestring_ascii.pyRs	tTestPyEncodeBasestringAsciicBseZRS((RR(((s=/sys/lib/python2.7/json/tests/test_encode_basestring_ascii.pyR(stTestCEncodeBasestringAsciicBseZRS((RR(((s=/sys/lib/python2.7/json/tests/test_encode_basestring_ascii.pyR)sN(u9/\"쫾몾ꮘﳞ볚

	`1~!@#$%^&*()_+-=[]{}|;:',./<>?sT"/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"(uģ䕧覫췯ꯍs&"\u0123\u4567\u89ab\ucdef\uabcd\uef4a"(ucontrolss
"controls"(u

	s"\b\f\n\r\t"(u1{"object with 1 member":["array with 1 element"]}s7"{\"object with 1 member\":[\"array with 1 element\"]}"(u
 s p a c e d s" s p a c e d "(u𝄠s"\ud834\udd20"(uαΩs"\u03b1\u03a9"(sαΩs"\u03b1\u03a9"(uαΩs"\u03b1\u03a9"(sαΩs"\u03b1\u03a9"(uαΩs"\u03b1\u03a9"(uαΩs"\u03b1\u03a9"(u`1~!@#$%^&*()_+-={':[,]}|;.</>?s!"`1~!@#$%^&*()_+-={':[,]}|;.</>?"(u

	s"\b\f\n\r\t"(uģ䕧覫췯ꯍs&"\u0123\u4567\u89ab\ucdef\uabcd\uef4a"(
tcollectionsRt
json.testsRRRtobjectRRR(((s=/sys/lib/python2.7/json/tests/test_encode_basestring_ascii.pyt<module>s(	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.