View difference between Paste ID: j6ScCibV and umtNHT9n
SHOW: | | - or go back to the newest paste.
1-
$ hg clone http://hg.python.org/cpython
1+
$ ./python ~/src/coveragepy/ run --pylib Lib/test/regrtest.py -v test_frame
2-
$ ./configure --with-pydebug && make -j2
2+
== CPython 3.4.0a1+ (default:1f4aed2c914c, Aug 11 2013, 22:38:04) [GCC 4.7.2]
3-
$ ./python -m test
3+
==   Linux-3.5.0-25-generic-i686-with-debian-wheezy-sid little-endian
4-
354 tests OK.
4+
==   /home/sdia/open-source/cpython/build/test_python_11032
5-
1 test altered the execution environment:
5+
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
6-
    test_multiprocessing
6+
[1/1] test_frame
7-
22 tests skipped:
7+
test_clear_executing (test.test_frame.ClearTest) ... ok
8-
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
8+
test_clear_executing_generator (test.test_frame.ClearTest) ... ok
9-
    test_codecmaps_kr test_codecmaps_tw test_curses test_devpoll
9+
test_clear_generator (test.test_frame.ClearTest) ... ok
10-
    test_kqueue test_lzma test_msilib test_ossaudiodev test_smtpnet
10+
test_clear_locals (test.test_frame.ClearTest) ... FAIL
11-
    test_socketserver test_startfile test_timeout test_tk
11+
test_clear_refcycles (test.test_frame.ClearTest) ... FAIL
12-
    test_ttk_guionly test_urllibnet test_winreg test_winsound
12+
13-
    test_xmlrpc_net test_zipfile64
13+
======================================================================
14
FAIL: test_clear_locals (test.test_frame.ClearTest)
15-
$ cd ~/src/
15+
----------------------------------------------------------------------
16-
$ hg clone https://bitbucket.org/ned/coveragepy
16+
Traceback (most recent call last):
17-
$ cd /path/to/cpython
17+
  File "/home/sdia/open-source/cpython/Lib/test/test_frame.py", line 45, in test_clear_locals
18-
$ ./python ~/src/coveragepy/ run --pylib Lib/test/regrtest.py
18+
    self.assertIs(None, wr())
19-
318 tests OK.
19+
AssertionError: None is not <test.test_frame.ClearTest.test_clear_locals.<locals>.C object at 0xb6928ce4>
20-
5 tests failed:
20+
21-
    test_frame test_importlib test_super test_threading_local
21+
======================================================================
22
FAIL: test_clear_refcycles (test.test_frame.ClearTest)
23-
32 tests altered the execution environment:
23+
----------------------------------------------------------------------
24-
    test_asynchat test_asyncore test_bz2 test_capi
24+
Traceback (most recent call last):
25-
    test_concurrent_futures test_ctypes test_decimal test_docxmlrpc
25+
  File "/home/sdia/open-source/cpython/Lib/test/test_frame.py", line 109, in test_clear_refcycles
26-
    test_fork1 test_ftplib test_gc test_hashlib test_httplib
26+
    self.assertIs(None, wr())
27-
    test_httpservers test_io test_json test_logging
27+
AssertionError: None is not <test.test_frame.ClearTest.test_clear_refcycles.<locals>.C object at 0xb6931574>
28-
    test_multiprocessing test_os test_poplib test_pydoc test_queue
28+
29-
    test_sched test_smtplib test_socket test_sqlite test_ssl test_sys
29+
----------------------------------------------------------------------
30-
    test_telnetlib test_threaded_import test_threadedtempfile
30+
Ran 5 tests in 0.232s
31-
    test_threading
31+
32-
22 tests skipped:
32+
FAILED (failures=2)
33-
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
33+
test test_frame failed
34-
    test_codecmaps_kr test_codecmaps_tw test_curses test_devpoll
34+
1 test failed:
35-
    test_kqueue test_lzma test_msilib test_ossaudiodev test_smtpnet
35+
36-
    test_socketserver test_startfile test_timeout test_tk
36+
37-
    test_ttk_guionly test_urllibnet test_winreg test_winsound
37+
38-
    test_xmlrpc_net test_zipfile64
38+
39
40
41
42
43
44
$ ./python ~/src/coveragepy/ run --pylib Lib/test/regrtest.py -v test_xml_etree
45
== CPython 3.4.0a1+ (default:1f4aed2c914c, Aug 11 2013, 22:38:04) [GCC 4.7.2]
46
==   Linux-3.5.0-25-generic-i686-with-debian-wheezy-sid little-endian
47
==   /home/sdia/open-source/cpython/build/test_python_11040
48
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
49
[1/1] test_xml_etree
50
test_sanity (test.test_xml_etree.ModuleTest) ... ok
51
test_delslice (test.test_xml_etree.ElementSlicingTest) ... ok
52
test_getslice_negative_steps (test.test_xml_etree.ElementSlicingTest) ... ok
53
test_getslice_range (test.test_xml_etree.ElementSlicingTest) ... ok
54
55
...
56
57
test_bug_xmltoolkit63 (test.test_xml_etree.BugsTest) ... FAIL
58
test_bug_xmltoolkitX1 (test.test_xml_etree.BugsTest) ... ok
59
test_issue10777 (test.test_xml_etree.BugsTest) ... ok
60
test_issue3151 (test.test_xml_etree.BugsTest) ... ok
61
test_issue6233 (test.test_xml_etree.BugsTest) ... ok
62
test_issue6565 (test.test_xml_etree.BugsTest) ... ok
63
64
======================================================================
65
FAIL: test_bug_xmltoolkit63 (test.test_xml_etree.BugsTest)
66
----------------------------------------------------------------------
67
Traceback (most recent call last):
68
  File "/home/sdia/open-source/cpython/Lib/test/test_xml_etree.py", line 1482, in test_bug_xmltoolkit63
69
    self.assertEqual(sys.getrefcount(None), count)
70
AssertionError: 26332 != 26329
71
72
----------------------------------------------------------------------
73
Ran 112 tests in 14.540s
74
75
FAILED (failures=1)
76
test test_xml_etree failed
77
1 test failed:
78
    test_xml_etree
79
80
81
82
83
84
85
86
87
88
89
90
$ ./python ~/src/coveragepy/ run --pylib Lib/test/regrtest.py -v test_threading_local
91
== CPython 3.4.0a1+ (default:1f4aed2c914c, Aug 11 2013, 22:38:04) [GCC 4.7.2]
92
==   Linux-3.5.0-25-generic-i686-with-debian-wheezy-sid little-endian
93
==   /home/sdia/open-source/cpython/build/test_python_11061
94
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
95
[1/1] test_threading_local
96
_threading_local ()
97
Doctest: _threading_local ... ok
98
test_arguments (test.test_threading_local.ThreadLocalTest) ... ok
99
test_cycle_collection (test.test_threading_local.ThreadLocalTest) ... ok
100
test_derived (test.test_threading_local.ThreadLocalTest) ... ok
101
test_derived_cycle_dealloc (test.test_threading_local.ThreadLocalTest) ... ok
102
test_dict_attribute (test.test_threading_local.ThreadLocalTest) ... ok
103
test_dict_attribute_subclass (test.test_threading_local.ThreadLocalTest) ... ok
104
test_local_refs (test.test_threading_local.ThreadLocalTest) ... ok
105
test_threading_local (test.test_threading_local.ThreadLocalTest) ... ok
106
test_threading_local_subclass (test.test_threading_local.ThreadLocalTest) ... ok
107
test_arguments (test.test_threading_local.PyThreadingLocalTest) ... ok
108
test_cycle_collection (test.test_threading_local.PyThreadingLocalTest) ... ok
109
test_derived (test.test_threading_local.PyThreadingLocalTest) ... ok
110
test_derived_cycle_dealloc (test.test_threading_local.PyThreadingLocalTest) ... ok
111
test_dict_attribute (test.test_threading_local.PyThreadingLocalTest) ... ok
112
test_dict_attribute_subclass (test.test_threading_local.PyThreadingLocalTest) ... ok
113
test_local_refs (test.test_threading_local.PyThreadingLocalTest) ... FAIL
114
test_threading_local (test.test_threading_local.PyThreadingLocalTest) ... ok
115
test_threading_local_subclass (test.test_threading_local.PyThreadingLocalTest) ... ok
116
_threading_local ()
117
Doctest: _threading_local ... ok
118
119
======================================================================
120
FAIL: test_local_refs (test.test_threading_local.PyThreadingLocalTest)
121
----------------------------------------------------------------------
122
Traceback (most recent call last):
123
  File "/home/sdia/open-source/cpython/Lib/test/test_threading_local.py", line 25, in test_local_refs
124
    self._local_refs(20)
125
  File "/home/sdia/open-source/cpython/Lib/test/test_threading_local.py", line 43, in _local_refs
126
    self.assertIn(len(deadlist), (n-1, n))
127
AssertionError: 0 not found in (19, 20)
128
129
----------------------------------------------------------------------
130
Ran 20 tests in 3.559s
131
132
FAILED (failures=1)
133
Warning -- threading._dangling was modified by test_threading_local
134
test test_threading_local failed
135
1 test failed:
136
    test_threading_local
137
138
139
140
141
142
143
$ ./python ~/src/coveragepy/ run --pylib Lib/test/regrtest.py -v test_super
144
== CPython 3.4.0a1+ (default:1f4aed2c914c, Aug 11 2013, 22:38:04) [GCC 4.7.2]
145
==   Linux-3.5.0-25-generic-i686-with-debian-wheezy-sid little-endian
146
==   /home/sdia/open-source/cpython/build/test_python_11296
147
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
148
[1/1] test_super
149
test___class___classmethod (test.test_super.TestSuper) ... ok
150
test___class___instancemethod (test.test_super.TestSuper) ... ok
151
test___class___staticmethod (test.test_super.TestSuper) ... ok
152
test_basics_working (test.test_super.TestSuper) ... ok
153
test_cell_as_self (test.test_super.TestSuper) ... ok
154
test_class_getattr_working (test.test_super.TestSuper) ... ok
155
test_class_methods_still_working (test.test_super.TestSuper) ... ok
156
test_obscure_super_errors (test.test_super.TestSuper) ... ok
157
test_subclass_no_override_working (test.test_super.TestSuper) ... ok
158
test_super_in_class_methods_working (test.test_super.TestSuper) ... ok
159
test_super_with_closure (test.test_super.TestSuper) ... ok
160
test_unbound_method_transfer_working (test.test_super.TestSuper) ... ok
161
test_various___class___pathologies (test.test_super.TestSuper) ... FAIL
162
163
======================================================================
164
FAIL: test_various___class___pathologies (test.test_super.TestSuper)
165
----------------------------------------------------------------------
166
Traceback (most recent call last):
167
  File "/home/sdia/open-source/cpython/Lib/test/test_super.py", line 97, in test_various___class___pathologies
168
    self.assertEqual(x.__class__, 413)
169
AssertionError: <class 'test.test_super.TestSuper.test_various___class___pathologies.<locals>.X'> != 413
170
171
----------------------------------------------------------------------
172
Ran 13 tests in 0.173s
173
174
FAILED (failures=1)
175
test test_super failed
176
1 test failed:
177
    test_super
178
179
180
181
182
183
184
$ ./python ~/src/coveragepy/ run --pylib Lib/test/regrtest.py -v test_importlib
185
== CPython 3.4.0a1+ (default:1f4aed2c914c, Aug 11 2013, 22:38:04) [GCC 4.7.2]
186
==   Linux-3.5.0-25-generic-i686-with-debian-wheezy-sid little-endian
187
==   /home/sdia/open-source/cpython/build/test_python_11309
188
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
189
[1/1] test_importlib
190
test_failure (test.test_importlib.builtin.test_finder.FinderTests) ... ok
191
test_ignore_path (test.test_importlib.builtin.test_finder.FinderTests) ... ok
192
test_module (test.test_importlib.builtin.test_finder.FinderTests) ... ok
193
test_module_in_package (test.test_importlib.builtin.test_finder.FinderTests) ... ok
194
test_package (test.test_importlib.builtin.test_finder.FinderTests) ... ok
195
test_package_in_package (test.test_importlib.builtin.test_finder.FinderTests) ... ok
196
test_package_over_module (test.test_importlib.builtin.test_finder.FinderTests) ... ok
197
test_get_code (test.test_importlib.builtin.test_loader.InspectLoaderTests) ... ok
198
199
200
...
201
202
203
204
205
206
test_not_reset (test.test_importlib.test_util.SetLoaderTests) ... ok
207
test_decorator_attrs (test.test_importlib.test_util.SetPackageTests) ... ok
208
test_leaving_alone (test.test_importlib.test_util.SetPackageTests) ... ok
209
test_package (test.test_importlib.test_util.SetPackageTests) ... ok
210
test_setting_if_missing (test.test_importlib.test_util.SetPackageTests) ... ok
211
test_submodule (test.test_importlib.test_util.SetPackageTests) ... ok
212
test_top_level (test.test_importlib.test_util.SetPackageTests) ... ok
213
214
======================================================================
215
FAIL: test_code_bad_magic (test.test_importlib.test_abc.SourceLoaderBytecodeTests)
216
----------------------------------------------------------------------
217
Traceback (most recent call last):
218
  File "/home/sdia/open-source/cpython/Lib/test/test_importlib/test_abc.py", line 716, in test_code_bad_magic
219
    self.verify_code(code_object, bytecode_written=True)
220
  File "/home/sdia/open-source/cpython/Lib/test/test_importlib/test_abc.py", line 681, in verify_code
221
    self.assertEqual(self.loader.written[self.cached], bytes(data))
222
AssertionError: b'\xd0\x0c\r\n\x01\x00\x00\x00N\x00\x00\x00\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00@\x00\x00\x00s(\x00\x00\x00d\x00\x00j\x00\x00e\x01\x00e\x02\x00e\x03\x00e\x04\x00e\x05\x00e\x06\x00\x83\x01\x00g\x05\x00\x83\x01\x00Z\x07\x00d\x01\x00S(\x02\x00\x00\x00u\x02\x00\x00\x00::N(\x08\x00\x00\x00\xf4\x04\x00\x00\x00join\xf4\x08\x00\x00\x00__name__\xf4\x08\x00\x00\x00__file__\xf4\n\x00\x00\x00__cached__\xf4\x0b\x00\x00\x00__package__\xf4\x04\x00\x00\x00repr\xf4\n\x00\x00\x00__loader__\xf4\x01\x00\x00\x00_\xa8\x00\x00\x00\x00r\t\x00\x00\x00r\t\x00\x00\x00u\x0f\x00\x00\x00pkg/__init__.py\xf4\x08\x00\x00\x00<module>\x01\x00\x00\x00s\x00\x00\x00\x00' != b'\xd0\x0c\r\n\x01\x00\x00\x00N\x00\x00\x00\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00@\x00\x00\x00s(\x00\x00\x00d\x00\x00j\x00\x00e\x01\x00e\x02\x00e\x03\x00e\x04\x00e\x05\x00e\x06\x00\x83\x01\x00g\x05\x00\x83\x01\x00Z\x07\x00d\x01\x00S(\x02\x00\x00\x00u\x02\x00\x00\x00::N(\x08\x00\x00\x00\xf4\x04\x00\x00\x00join\xf4\x08\x00\x00\x00__name__\xf4\x08\x00\x00\x00__file__\xf4\n\x00\x00\x00__cached__\xf4\x0b\x00\x00\x00__package__\xf4\x04\x00\x00\x00repr\xf4\n\x00\x00\x00__loader__\xf4\x01\x00\x00\x00_\xa8\x00\x00\x00\x00r\t\x00\x00\x00r\t\x00\x00\x00\xf5\x0f\x00\x00\x00pkg/__init__.py\xf4\x08\x00\x00\x00<module>\x01\x00\x00\x00s\x00\x00\x00\x00'
223
224
----------------------------------------------------------------------
225
Ran 312 tests in 9.225s
226
227
FAILED (failures=1, skipped=6)
228
test test_importlib failed
229
1 test failed:
230
    test_importlib