Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e171965

Browse files
committed
For posterity, here's a list of currently failing tests in py3k.
1 parent 3b843cc commit e171965

1 file changed

Lines changed: 112 additions & 0 deletions

File tree

BROKEN

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
////////////////////////////////////////////////////////////////////////
2+
test_class
3+
////////////////////////////////////////////////////////////////////////
4+
5+
test test_class failed -- hash(C1()) should raise <class 'exceptions.TypeError'>
6+
Also hash(C2())
7+
Also stack blowout, recursing between
8+
#5921 0x0003868c in slot_tp_call (self=0x5b0c90, args=0x338030, kwds=0x0) at ../Objects/typeobject.c:4583
9+
#5922 0x00021124 in PyObject_Call (func=0x5b0c90, arg=0x3384c0, kw=0x134e10) at ../Objects/abstract.c:1791
10+
11+
////////////////////////////////////////////////////////////////////////
12+
test_minidom
13+
////////////////////////////////////////////////////////////////////////
14+
15+
test test_minidom crashed -- <class 'exceptions.TypeError'>: Error when calling the metaclass bases
16+
Cannot create a consistent method resolution
17+
order (MRO) for bases object, GetattrMagic
18+
19+
////////////////////////////////////////////////////////////////////////
20+
test_xml_etree
21+
////////////////////////////////////////////////////////////////////////
22+
23+
3 items had failures:
24+
18 of 32 in test.test_xml_etree.find
25+
1 of 3 in test.test_xml_etree.sanity
26+
8 of 12 in test.test_xml_etree.xinclude
27+
***Test Failed*** 27 failures.
28+
test test_xml_etree failed -- 27 of 91 doctests failed
29+
30+
////////////////////////////////////////////////////////////////////////
31+
test_xml_etree_c
32+
////////////////////////////////////////////////////////////////////////
33+
34+
**********************************************************************
35+
File "/Users/guido/projects/python/py3k/Lib/test/test_xml_etree_c.py", line 112, in test.test_xml_etree_c.find
36+
Failed example:
37+
elem.find("section/tag").tag
38+
Exception raised:
39+
Traceback (most recent call last):
40+
File "/Users/guido/projects/python/py3k/Lib/doctest.py", line 1207, in __run
41+
compileflags, 1) in test.globs
42+
File "<doctest test.test_xml_etree_c.find[3]>", line 1, in <module>
43+
elem.find("section/tag").tag
44+
AttributeError: 'NoneType' object has no attribute 'tag'
45+
46+
////////////////////////////////////////////////////////////////////////
47+
test_descr
48+
////////////////////////////////////////////////////////////////////////
49+
50+
Testing hash of mutable subclasses...
51+
Traceback (most recent call last):
52+
File "../Lib/test/test_descr.py", line 4096, in <module>
53+
test_main()
54+
File "../Lib/test/test_descr.py", line 4059, in test_main
55+
hashinherit()
56+
File "../Lib/test/test_descr.py", line 3108, in hashinherit
57+
raise TestFailed, "hash() of dict subclass should fail"
58+
test.test_support.TestFailed: hash() of dict subclass should fail
59+
60+
////////////////////////////////////////////////////////////////////////
61+
test_gc
62+
////////////////////////////////////////////////////////////////////////
63+
64+
testing finalizers... restoring automatic collection
65+
Traceback (most recent call last):
66+
File "../Lib/test/test_gc.py", line 636, in <module>
67+
test()
68+
File "../Lib/test/test_gc.py", line 623, in test
69+
test_all()
70+
File "../Lib/test/test_gc.py", line 586, in test_all
71+
run_test("finalizers", test_finalizer)
72+
File "../Lib/test/test_gc.py", line 18, in run_test
73+
thunk()
74+
File "../Lib/test/test_gc.py", line 125, in test_finalizer
75+
raise TestFailed, "didn't find obj in garbage (finalizer)"
76+
test.test_support.TestFailed: didn't find obj in garbage (finalizer)
77+
78+
////////////////////////////////////////////////////////////////////////
79+
test_set
80+
////////////////////////////////////////////////////////////////////////
81+
82+
======================================================================
83+
FAIL: test_contains (__main__.TestSetSubclass)
84+
----------------------------------------------------------------------
85+
Traceback (most recent call last):
86+
File "../Lib/test/test_set.py", line 52, in test_contains
87+
self.assert_(self.thetype(self.letters) in s)
88+
AssertionError
89+
90+
======================================================================
91+
FAIL: test_discard (__main__.TestSetSubclass)
92+
----------------------------------------------------------------------
93+
Traceback (most recent call last):
94+
File "../Lib/test/test_set.py", line 302, in test_discard
95+
self.assert_(self.thetype(self.word) in s)
96+
AssertionError
97+
98+
======================================================================
99+
FAIL: test_hash (__main__.TestSetSubclass)
100+
----------------------------------------------------------------------
101+
Traceback (most recent call last):
102+
File "../Lib/test/test_set.py", line 265, in test_hash
103+
self.assertRaises(TypeError, hash, self.s)
104+
AssertionError: TypeError not raised
105+
106+
======================================================================
107+
FAIL: test_remove (__main__.TestSetSubclass)
108+
----------------------------------------------------------------------
109+
Traceback (most recent call last):
110+
File "../Lib/test/test_set.py", line 291, in test_remove
111+
self.assert_(self.thetype(self.word) in s)
112+
AssertionError

0 commit comments

Comments
 (0)