1 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
2 py$(PYV): commands[0]> python --version
4 py$(PYV): commands[1]> python -m pytest --cov=sdjson -r aR tests/
5 ============================= test session starts ==============================
6 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
7 cachedir: .tox/py$(PYV)/.pytest_cache
11 timeout method: signal
12 timeout func_only: False
13 collecting ... collected 155 items
15 tests/stdlib_tests/test_decode.py::test_decimal PASSED
16 tests/stdlib_tests/test_decode.py::test_decoder_optimizations PASSED
17 tests/stdlib_tests/test_decode.py::test_empty_objects PASSED
18 tests/stdlib_tests/test_decode.py::test_extra_data PASSED
19 tests/stdlib_tests/test_decode.py::test_float PASSED
20 tests/stdlib_tests/test_decode.py::test_invalid_escape PASSED
21 tests/stdlib_tests/test_decode.py::test_invalid_input_type PASSED
22 tests/stdlib_tests/test_decode.py::test_keys_reuse PASSED
23 tests/stdlib_tests/test_decode.py::test_negative_index PASSED
24 tests/stdlib_tests/test_decode.py::test_object_pairs_hook PASSED
25 tests/stdlib_tests/test_decode.py::test_string_with_utf8_bom PASSED
26 tests/stdlib_tests/test_default.py::test_default PASSED
27 tests/stdlib_tests/test_dump.py::test_dump PASSED
28 tests/stdlib_tests/test_dump.py::test_dump_skipkeys PASSED
29 tests/stdlib_tests/test_dump.py::test_dumps PASSED
30 tests/stdlib_tests/test_dump.py::test_encode_evil_dict PASSED
31 tests/stdlib_tests/test_dump.py::test_encode_mutated PASSED
32 tests/stdlib_tests/test_dump.py::test_encode_truefalse[data0-{"false": true, "true": false}] PASSED
33 tests/stdlib_tests/test_dump.py::test_encode_truefalse[data1-{"false": 1, "2": 3.0, "4.0": 5, "6": true}] PASSED
34 tests/stdlib_tests/test_encode_basestring_ascii.py::test_ordered_dict PASSED
35 tests/stdlib_tests/test_encode_basestring_ascii.py::test_sorted_dict PASSED
36 tests/stdlib_tests/test_enum.py::test_dict_keys PASSED
37 tests/stdlib_tests/test_enum.py::test_dict_values PASSED
38 tests/stdlib_tests/test_enum.py::test_floats PASSED
39 tests/stdlib_tests/test_enum.py::test_ints PASSED
40 tests/stdlib_tests/test_enum.py::test_list PASSED
41 tests/stdlib_tests/test_enum.py::test_weird_floats PASSED
42 tests/stdlib_tests/test_fail.py::test_extra_data["spam",42-Extra data-6] PASSED
43 tests/stdlib_tests/test_fail.py::test_extra_data[42,"spam"-Extra data-2] PASSED
44 tests/stdlib_tests/test_fail.py::test_extra_data[[],[]-Extra data-2] PASSED
45 tests/stdlib_tests/test_fail.py::test_extra_data[[]]-Extra data-2] PASSED
46 tests/stdlib_tests/test_fail.py::test_extra_data[{},{}-Extra data-2] PASSED
47 tests/stdlib_tests/test_fail.py::test_extra_data[{}}-Extra data-2] PASSED
48 tests/stdlib_tests/test_fail.py::test_failures PASSED
49 tests/stdlib_tests/test_fail.py::test_linecol[ !-1-2-1] PASSED
50 tests/stdlib_tests/test_fail.py::test_linecol[!-1-1-0] PASSED
51 tests/stdlib_tests/test_fail.py::test_linecol[\n \n\n !-4-6-10] PASSED
52 tests/stdlib_tests/test_fail.py::test_linecol[\n!-2-1-1] PASSED
53 tests/stdlib_tests/test_fail.py::test_non_string_keys_dict PASSED
54 tests/stdlib_tests/test_fail.py::test_not_serializable PASSED
55 tests/stdlib_tests/test_fail.py::test_truncated_input["-Unterminated string starting at-0] PASSED
56 tests/stdlib_tests/test_fail.py::test_truncated_input["spam-Unterminated string starting at-0] PASSED
57 tests/stdlib_tests/test_fail.py::test_truncated_input[-Expecting value-0] PASSED
58 tests/stdlib_tests/test_fail.py::test_truncated_input[["-Unterminated string starting at-1] PASSED
59 tests/stdlib_tests/test_fail.py::test_truncated_input[["spam",-Expecting value-8] PASSED
60 tests/stdlib_tests/test_fail.py::test_truncated_input[["spam"-Expecting ',' delimiter-7] PASSED
61 tests/stdlib_tests/test_fail.py::test_truncated_input[["spam-Unterminated string starting at-1] PASSED
62 tests/stdlib_tests/test_fail.py::test_truncated_input[[-Expecting value-1] PASSED
63 tests/stdlib_tests/test_fail.py::test_truncated_input[[42,-Expecting value-4] PASSED
64 tests/stdlib_tests/test_fail.py::test_truncated_input[[42-Expecting ',' delimiter-3] PASSED
65 tests/stdlib_tests/test_fail.py::test_truncated_input[{"-Unterminated string starting at-1] PASSED
66 tests/stdlib_tests/test_fail.py::test_truncated_input[{"spam"-Expecting ':' delimiter-7] PASSED
67 tests/stdlib_tests/test_fail.py::test_truncated_input[{"spam":-Expecting value-8] PASSED
68 tests/stdlib_tests/test_fail.py::test_truncated_input[{"spam":42,-Expecting property name enclosed in double quotes-11] PASSED
69 tests/stdlib_tests/test_fail.py::test_truncated_input[{"spam":42-Expecting ',' delimiter-10] PASSED
70 tests/stdlib_tests/test_fail.py::test_truncated_input[{"spam-Unterminated string starting at-1] PASSED
71 tests/stdlib_tests/test_fail.py::test_truncated_input[{-Expecting property name enclosed in double quotes-1] PASSED
72 tests/stdlib_tests/test_fail.py::test_unexpected_data[["]-Unterminated string starting at-1] PASSED
73 tests/stdlib_tests/test_fail.py::test_unexpected_data[["spam",]-Expecting value-8] PASSED
74 tests/stdlib_tests/test_fail.py::test_unexpected_data[["spam":-Expecting ',' delimiter-7] PASSED
75 tests/stdlib_tests/test_fail.py::test_unexpected_data[[,-Expecting value-1] PASSED
76 tests/stdlib_tests/test_fail.py::test_unexpected_data[[42 "spam"-Expecting ',' delimiter-4] PASSED
77 tests/stdlib_tests/test_fail.py::test_unexpected_data[[42,]-Expecting value-4] PASSED
78 tests/stdlib_tests/test_fail.py::test_unexpected_data[[42:-Expecting ',' delimiter-3] PASSED
79 tests/stdlib_tests/test_fail.py::test_unexpected_data[[{"spam":42]-Expecting ',' delimiter-11] PASSED
80 tests/stdlib_tests/test_fail.py::test_unexpected_data[[{"spam":]-Expecting value-9] PASSED
81 tests/stdlib_tests/test_fail.py::test_unexpected_data[[{"spam"]-Expecting ':' delimiter-8] PASSED
82 tests/stdlib_tests/test_fail.py::test_unexpected_data[[{]-Expecting property name enclosed in double quotes-2] PASSED
83 tests/stdlib_tests/test_fail.py::test_unexpected_data[{"spam",-Expecting ':' delimiter-7] PASSED
84 tests/stdlib_tests/test_fail.py::test_unexpected_data[{"spam":42 "ham"-Expecting ',' delimiter-11] PASSED
85 tests/stdlib_tests/test_fail.py::test_unexpected_data[{"spam":42,}-Expecting property name enclosed in double quotes-11] PASSED
86 tests/stdlib_tests/test_fail.py::test_unexpected_data[{"spam":[42}-Expecting ',' delimiter-11] PASSED
87 tests/stdlib_tests/test_fail.py::test_unexpected_data[{"spam":[}-Expecting value-9] PASSED
88 tests/stdlib_tests/test_fail.py::test_unexpected_data[{"spam":}-Expecting value-8] PASSED
89 tests/stdlib_tests/test_fail.py::test_unexpected_data[{"spam"}-Expecting ':' delimiter-7] PASSED
90 tests/stdlib_tests/test_fail.py::test_unexpected_data[{,-Expecting property name enclosed in double quotes-1] PASSED
91 tests/stdlib_tests/test_fail.py::test_unexpected_data[{42-Expecting property name enclosed in double quotes-1] PASSED
92 tests/stdlib_tests/test_fail.py::test_unexpected_data[{:-Expecting property name enclosed in double quotes-1] PASSED
93 tests/stdlib_tests/test_float.py::test_allow_nan PASSED
94 tests/stdlib_tests/test_float.py::test_floats PASSED
95 tests/stdlib_tests/test_float.py::test_ints PASSED
96 tests/stdlib_tests/test_float.py::test_out_of_range PASSED
97 tests/stdlib_tests/test_indent.py::test_indent PASSED
98 tests/stdlib_tests/test_indent.py::test_indent0 PASSED
99 tests/stdlib_tests/test_passes.py::test_parse_pass_1 PASSED
100 tests/stdlib_tests/test_passes.py::test_parse_pass_2 PASSED
101 tests/stdlib_tests/test_passes.py::test_parse_pass_3 PASSED
102 tests/stdlib_tests/test_recursion.py::test_defaultrecursion PASSED
103 tests/stdlib_tests/test_recursion.py::test_dictrecursion PASSED
104 tests/stdlib_tests/test_recursion.py::test_endless_recursion PASSED
105 tests/stdlib_tests/test_recursion.py::test_highly_nested_objects_decoding PASSED
106 tests/stdlib_tests/test_recursion.py::test_highly_nested_objects_encoding PASSED
107 tests/stdlib_tests/test_recursion.py::test_listrecursion PASSED
108 tests/stdlib_tests/test_separators.py::test_illegal_separators PASSED
109 tests/stdlib_tests/test_separators.py::test_separators PASSED
110 tests/stdlib_tests/test_unicode.py::test_big_unicode_decode PASSED
111 tests/stdlib_tests/test_unicode.py::test_big_unicode_encode PASSED
112 tests/stdlib_tests/test_unicode.py::test_bytes_decode PASSED
113 tests/stdlib_tests/test_unicode.py::test_bytes_encode PASSED
114 tests/stdlib_tests/test_unicode.py::test_encoding3 PASSED
115 tests/stdlib_tests/test_unicode.py::test_encoding4 PASSED
116 tests/stdlib_tests/test_unicode.py::test_encoding5 PASSED
117 tests/stdlib_tests/test_unicode.py::test_encoding6 PASSED
118 tests/stdlib_tests/test_unicode.py::test_object_pairs_hook_with_unicode PASSED
119 tests/stdlib_tests/test_unicode.py::test_unicode_decode PASSED
120 tests/stdlib_tests/test_unicode.py::test_unicode_preservation PASSED
121 tests/test_custom_class.py::test_custom_class PASSED
122 tests/test_custom_encoders.py::test_date_str PASSED
123 tests/test_custom_encoders.py::test_date_tuple PASSED
124 tests/test_custom_encoders.py::test_datetime_float PASSED
125 tests/test_custom_encoders.py::test_datetime_str PASSED
126 tests/test_custom_encoders.py::test_datetime_tuple PASSED
127 tests/test_custom_encoders.py::test_decimal_float PASSED
128 tests/test_custom_encoders.py::test_decimal_str PASSED
129 tests/test_custom_encoders.py::test_fraction_float PASSED
130 tests/test_custom_encoders.py::test_fraction_str PASSED
131 tests/test_custom_encoders.py::test_named_tuple XFAIL (Not implement...)
132 tests/test_custom_encoders.py::test_time_float PASSED
133 tests/test_custom_encoders.py::test_time_str PASSED
134 tests/test_custom_encoders.py::test_time_tuple PASSED
135 tests/test_custom_encoders.py::test_timedelta_float PASSED
136 tests/test_load.py::test_bools PASSED
137 tests/test_load.py::test_dict_failure[dictionary0] XFAIL
138 tests/test_load.py::test_dict_failure[dictionary1] XFAIL
139 tests/test_load.py::test_float[-1.005] PASSED
140 tests/test_load.py::test_float[-1.0] PASSED
141 tests/test_load.py::test_float[-1234.005] PASSED
142 tests/test_load.py::test_float[-1234.0] PASSED
143 tests/test_load.py::test_float[-12340000000.005] PASSED
144 tests/test_load.py::test_float[-12340000000.0] PASSED
145 tests/test_load.py::test_float[1.005] PASSED
146 tests/test_load.py::test_float[1.0] PASSED
147 tests/test_load.py::test_float[1234.005] PASSED
148 tests/test_load.py::test_float[1234.0] PASSED
149 tests/test_load.py::test_float[12340000000.005] PASSED
150 tests/test_load.py::test_float[12340000000.0] PASSED
151 tests/test_load.py::test_int[-12340000000] PASSED
152 tests/test_load.py::test_int[-1234] PASSED
153 tests/test_load.py::test_int[-1] PASSED
154 tests/test_load.py::test_int[12340000000] PASSED
155 tests/test_load.py::test_int[1234] PASSED
156 tests/test_load.py::test_int[1] PASSED
157 tests/test_load.py::test_none PASSED
158 tests/test_load.py::test_tuple_failure XFAIL
159 tests/test_load.py::test_write_then_read[dict] PASSED
160 tests/test_load.py::test_write_then_read[egg and bacon-egg and bacon] PASSED
161 tests/test_load.py::test_write_then_read[egg and spam-egg and spam] PASSED
162 tests/test_load.py::test_write_then_read[egg bacon and spam-egg bacon and spam] PASSED
163 tests/test_load.py::test_write_then_read[egg sausage and bacon-egg sausage and bacon] PASSED
164 tests/test_load.py::test_write_then_read[list] PASSED
165 tests/test_load.py::test_write_then_read[tuple] PASSED
166 tests/test_multiple_files.py::test_multiple_files PASSED
167 tests/test_overloading.py::test_overloading PASSED
168 tests/test_protocols.py::test_protocols PASSED
169 tests/test_unregister.py::test_unregister PASSED
171 ================================== XFAILURES ===================================
172 $(@D)/tests/test_custom_encoders.py:232: assert '["Alice", 12, "Sue"]' == '{"name": "Al...cher": "Sue"}'
173 $(@D)/tests/test_load.py:101: AssertionError: assert {'2': 3.0, '4...e, 'false': 1} == {False: 1, 2:...0: 5, 6: True}
174 $(@D)/tests/test_load.py:101: AssertionError: assert {'false': True, 'true': False} == {False: True, True: False}
175 $(@D)/tests/test_load.py:110: AssertionError: assert [True, False, 1, 2.5, 'spam'] == (True, False, 1, 2.5, 'spam')
177 Required test coverage of 99.0% reached. Total coverage: 99.21%
178 ============================= slowest 25 durations =============================
179 =========================== short test summary info ============================
180 ======== 151 passed, 4 xfailed ========