simplejson 2.1.4 test results on Python 3.2 (original) (raw)

running test

running egg_info

writing simplejson.egg-info/PKG-INFO

writing top-level names to simplejson.egg-info/top_level.txt

writing dependency_links to simplejson.egg-info/dependency_links.txt

reading manifest file 'simplejson.egg-info/SOURCES.txt'

writing manifest file 'simplejson.egg-info/SOURCES.txt'

running build_ext

test_circular_composite (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_default (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_dict (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_list (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_off_default (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_decimal (simplejson.tests.test_decode.TestDecode) ... /home/vinay/tools/simplejson/simplejson/tests/test_decode.py:16: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(rval, decimal.Decimal('1.1'))

ok

test_decoder_optimizations (simplejson.tests.test_decode.TestDecode) ... ok

test_empty_objects (simplejson.tests.test_decode.TestDecode) ... ok

test_empty_strings (simplejson.tests.test_decode.TestDecode) ... ok

test_float (simplejson.tests.test_decode.TestDecode) ... ok

test_keys_reuse_str (simplejson.tests.test_decode.TestDecode) ... ok

test_keys_reuse_unicode (simplejson.tests.test_decode.TestDecode) ... ok

test_object_pairs_hook (simplejson.tests.test_decode.TestDecode) ... ok

test_raw_decode (simplejson.tests.test_decode.TestDecode) ... ok

test_default (simplejson.tests.test_default.TestDefault) ... /home/vinay/tools/simplejson/simplejson/tests/test_default.py:9: DeprecationWarning: Please use assertEqual instead.

json.dumps(repr(type)))

ok

test_dump (simplejson.tests.test_dump.TestDump) ... /home/vinay/tools/simplejson/simplejson/tests/test_dump.py:10: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(sio.getvalue(), '{}')

ok

test_dumps (simplejson.tests.test_dump.TestDump) ... ok

test_encode_truefalse (simplejson.tests.test_dump.TestDump) ... ok

test_ordered_dict (simplejson.tests.test_dump.TestDump) ... ok

test_c_encode_basestring_ascii (simplejson.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... /home/vinay/tools/simplejson/simplejson/tests/test_encode_basestring_ascii.py:44: DeprecationWarning: Please use assertEqual instead.

'%r != %r for %s(%r)' % (result, expect, fname, input_string))

ok

test_py_encode_basestring_ascii (simplejson.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... ok

test_sorted_dict (simplejson.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... ok

test_basic_encode (simplejson.tests.test_encode_for_html.TestEncodeForHTML) ... ok

test_basic_roundtrip (simplejson.tests.test_encode_for_html.TestEncodeForHTML) ... ok

test_prevent_script_breakout (simplejson.tests.test_encode_for_html.TestEncodeForHTML) ... ok

test_decode_error (simplejson.tests.test_errors.TestErrors) ... /home/vinay/tools/simplejson/simplejson/tests/test_errors.py:19: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(err.lineno, 2)

ok

test_string_keys_error (simplejson.tests.test_errors.TestErrors) ... ok

test_array_decoder_issue46 (simplejson.tests.test_fail.TestFail) ... /home/vinay/tools/simplejson/simplejson/tests/test_fail.py:88: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(e.pos, 1)

ok

test_failures (simplejson.tests.test_fail.TestFail) ... ok

test_floats (simplejson.tests.test_float.TestFloat) ... /home/vinay/tools/simplejson/simplejson/tests/test_float.py:11: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(float(json.dumps(num)), num)

ok

test_ints (simplejson.tests.test_float.TestFloat) ... ok

test_indent (simplejson.tests.test_indent.TestIndent) ... /home/vinay/tools/simplejson/simplejson/tests/test_indent.py:45: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(h1, h)

ok

test_indent0 (simplejson.tests.test_indent.TestIndent) ... ok

test_separators (simplejson.tests.test_indent.TestIndent) ... ok

test_parse (simplejson.tests.test_pass1.TestPass1) ... /home/vinay/tools/simplejson/simplejson/tests/test_pass1.py:70: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(res, json.loads(out))

ok

test_parse (simplejson.tests.test_pass2.TestPass2) ... /home/vinay/tools/simplejson/simplejson/tests/test_pass2.py:14: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(res, json.loads(out))

ok

test_parse (simplejson.tests.test_pass3.TestPass3) ... /home/vinay/tools/simplejson/simplejson/tests/test_pass3.py:20: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(res, json.loads(out))

ok

test_defaultrecursion (simplejson.tests.test_recursion.TestRecursion) ... /home/vinay/tools/simplejson/simplejson/tests/test_recursion.py:60: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(enc.encode(JSONTestObject), '"JSONTestObject"')

ok

test_dictrecursion (simplejson.tests.test_recursion.TestRecursion) ... ok

test_listrecursion (simplejson.tests.test_recursion.TestRecursion) ... ok

test_c_scanstring (simplejson.tests.test_scanstring.TestScanString) ... /home/vinay/tools/simplejson/simplejson/tests/test_scanstring.py:20: DeprecationWarning: Please use assertEqual instead.

(u('z\U0001d120x'), 16))

ok

test_issue3623 (simplejson.tests.test_scanstring.TestScanString) ... ok

test_overflow (simplejson.tests.test_scanstring.TestScanString) ... ok

test_py_scanstring (simplejson.tests.test_scanstring.TestScanString) ... ok

test_separators (simplejson.tests.test_separators.TestSeparators) ... /home/vinay/tools/simplejson/simplejson/tests/test_separators.py:40: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(h1, h)

ok

test_make_encoder (simplejson.tests.test_speedups.TestDecode) ... ok

test_make_scanner (simplejson.tests.test_speedups.TestDecode) ... ok

test_big_unicode_decode (simplejson.tests.test_unicode.TestUnicode) ... /home/vinay/tools/simplejson/simplejson/tests/test_unicode.py:55: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(json.loads('"' + uu + '"'), uu)

ok

test_big_unicode_encode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_default_encoding (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding1 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding2 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding3 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding4 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding5 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding6 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_ensure_ascii_false_bytestring_encoding (simplejson.tests.test_unicode.TestUnicode) ... ok

test_ensure_ascii_false_returns_unicode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_object_pairs_hook_with_unicode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_unicode_decode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_unicode_preservation (simplejson.tests.test_unicode.TestUnicode) ... ok

test_decimal_decode (simplejson.tests.test_decimal.TestDecimal) ... /home/vinay/tools/simplejson/simplejson/tests/test_decimal.py:19: DeprecationWarning: Please use assertEqual instead.

self.assertEquals(res, json.load(sio, **kw))

ok

test_decimal_defaults (simplejson.tests.test_decimal.TestDecimal) ... ok

test_decimal_encode (simplejson.tests.test_decimal.TestDecimal) ... ok

test_decimal_roundtrip (simplejson.tests.test_decimal.TestDecimal) ... ok

simplejson ()

Doctest: simplejson ... ok

encode (simplejson.encoder.JSONEncoder)

Doctest: simplejson.encoder.JSONEncoder.encode ... ok

/home/vinay/tools/simplejson/simplejson/tests/../../index.rst

Doctest: index.rst ... ok

test_circular_composite (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_default (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_dict (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_list (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_circular_off_default (simplejson.tests.test_check_circular.TestCheckCircular) ... ok

test_decimal (simplejson.tests.test_decode.TestDecode) ... ok

test_decoder_optimizations (simplejson.tests.test_decode.TestDecode) ... ok

test_empty_objects (simplejson.tests.test_decode.TestDecode) ... ok

test_empty_strings (simplejson.tests.test_decode.TestDecode) ... ok

test_float (simplejson.tests.test_decode.TestDecode) ... ok

test_keys_reuse_str (simplejson.tests.test_decode.TestDecode) ... ok

test_keys_reuse_unicode (simplejson.tests.test_decode.TestDecode) ... ok

test_object_pairs_hook (simplejson.tests.test_decode.TestDecode) ... ok

test_raw_decode (simplejson.tests.test_decode.TestDecode) ... ok

test_default (simplejson.tests.test_default.TestDefault) ... ok

test_dump (simplejson.tests.test_dump.TestDump) ... ok

test_dumps (simplejson.tests.test_dump.TestDump) ... ok

test_encode_truefalse (simplejson.tests.test_dump.TestDump) ... ok

test_ordered_dict (simplejson.tests.test_dump.TestDump) ... ok

test_c_encode_basestring_ascii (simplejson.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... ok

test_py_encode_basestring_ascii (simplejson.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... ok

test_sorted_dict (simplejson.tests.test_encode_basestring_ascii.TestEncodeBaseStringAscii) ... ok

test_basic_encode (simplejson.tests.test_encode_for_html.TestEncodeForHTML) ... ok

test_basic_roundtrip (simplejson.tests.test_encode_for_html.TestEncodeForHTML) ... ok

test_prevent_script_breakout (simplejson.tests.test_encode_for_html.TestEncodeForHTML) ... ok

test_decode_error (simplejson.tests.test_errors.TestErrors) ... ok

test_string_keys_error (simplejson.tests.test_errors.TestErrors) ... ok

test_array_decoder_issue46 (simplejson.tests.test_fail.TestFail) ... ok

test_failures (simplejson.tests.test_fail.TestFail) ... ok

test_floats (simplejson.tests.test_float.TestFloat) ... ok

test_ints (simplejson.tests.test_float.TestFloat) ... ok

test_indent (simplejson.tests.test_indent.TestIndent) ... ok

test_indent0 (simplejson.tests.test_indent.TestIndent) ... ok

test_separators (simplejson.tests.test_indent.TestIndent) ... ok

test_parse (simplejson.tests.test_pass1.TestPass1) ... ok

test_parse (simplejson.tests.test_pass2.TestPass2) ... ok

test_parse (simplejson.tests.test_pass3.TestPass3) ... ok

test_defaultrecursion (simplejson.tests.test_recursion.TestRecursion) ... ok

test_dictrecursion (simplejson.tests.test_recursion.TestRecursion) ... ok

test_listrecursion (simplejson.tests.test_recursion.TestRecursion) ... ok

test_c_scanstring (simplejson.tests.test_scanstring.TestScanString) ... ok

test_issue3623 (simplejson.tests.test_scanstring.TestScanString) ... ok

test_overflow (simplejson.tests.test_scanstring.TestScanString) ... ok

test_py_scanstring (simplejson.tests.test_scanstring.TestScanString) ... ok

test_separators (simplejson.tests.test_separators.TestSeparators) ... ok

test_make_encoder (simplejson.tests.test_speedups.TestDecode) ... ok

test_make_scanner (simplejson.tests.test_speedups.TestDecode) ... ok

test_big_unicode_decode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_big_unicode_encode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_default_encoding (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding1 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding2 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding3 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding4 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding5 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_encoding6 (simplejson.tests.test_unicode.TestUnicode) ... ok

test_ensure_ascii_false_bytestring_encoding (simplejson.tests.test_unicode.TestUnicode) ... ok

test_ensure_ascii_false_returns_unicode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_object_pairs_hook_with_unicode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_unicode_decode (simplejson.tests.test_unicode.TestUnicode) ... ok

test_unicode_preservation (simplejson.tests.test_unicode.TestUnicode) ... ok

test_decimal_decode (simplejson.tests.test_decimal.TestDecimal) ... ok

test_decimal_defaults (simplejson.tests.test_decimal.TestDecimal) ... ok

test_decimal_encode (simplejson.tests.test_decimal.TestDecimal) ... ok

test_decimal_roundtrip (simplejson.tests.test_decimal.TestDecimal) ... ok

simplejson ()

Doctest: simplejson ... ok

encode (simplejson.encoder.JSONEncoder)

Doctest: simplejson.encoder.JSONEncoder.encode ... ok

/home/vinay/tools/simplejson/simplejson/tests/../../index.rst

Doctest: index.rst ... ok

----------------------------------------------------------------------

Ran 136 tests in 2.847s

OK