Message119443
Case's patch fixes test_builtin and test_complex failures on Windows 7 64-bit. But there's still a failure in test_dictviews:
======================================================================
FAIL: test_items_set_operations (test.test_dictviews.DictSetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Z:\__svn__\lib\test\test_dictviews.py", line 153, in test_items_set_operations
{('a', 1), ('b', 2)})
AssertionError: Items in the first set but not the second:
('a', 1)
('b', 2)
----------------------------------------------------------------------
Which boils down to the following issue:
>>> d1 = {'a': 1, 'b': 2}
>>> d1.items()
dict_items([('a', 1), ('b', 2)])
>>> set(d1.items())
{('a', 1), ('b', 2)}
>>> d1.items() | set(d1.items())
{('a', 1), ('a', 1), ('b', 2), ('b', 2)}
There are also a bunch of possibly related failures in test_weakset:
======================================================================
FAIL: test_inplace_on_self (test.test_weakset.TestWeakSet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_weakset.py", line 293, in test_inplace_on_
self
self.assertEqual(t, self.s)
AssertionError: <_weakrefset.WeakSet object at 0x000000000283CDC0> != <_weakrefs
et.WeakSet object at 0x000000000283B2C8>
======================================================================
FAIL: test_or (test.test_weakset.TestWeakSet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_weakset.py", line 72, in test_or
self.assertEqual(self.s | set(self.items2), i)
AssertionError: <_weakrefset.WeakSet object at 0x000000000285B400> != <_weakrefs
et.WeakSet object at 0x000000000285B260>
======================================================================
FAIL: test_symmetric_difference (test.test_weakset.TestWeakSet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_weakset.py", line 110, in test_symmetric_d
ifference
self.assertEqual(c in i, (c in self.d) ^ (c in self.items2))
AssertionError: False != True
======================================================================
FAIL: test_union (test.test_weakset.TestWeakSet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_weakset.py", line 61, in test_union
self.assertEqual(c in u, c in self.d or c in self.items2)
AssertionError: False != True
======================================================================
FAIL: test_xor (test.test_weakset.TestWeakSet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_weakset.py", line 117, in test_xor
self.assertEqual(self.s ^ set(self.items2), i)
AssertionError: <_weakrefset.WeakSet object at 0x000000000292CA18> != <_weakrefs
et.WeakSet object at 0x000000000292C878>
Another bunch of test_pyclbr failures:
======================================================================
FAIL: test_decorators (test.test_pyclbr.PyclbrTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 152, in test_decorators
self.checkModule('test.pyclbr_input', ignore=['om'])
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 101, in checkModule
self.assertListEq(real_bases, pyclbr_bases, ignore)
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 28, in assertListEq
self.fail("%r missing" % missing.pop())
AssertionError: 'object' missing
======================================================================
FAIL: test_easy (test.test_pyclbr.PyclbrTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 142, in test_easy
self.checkModule('pyclbr')
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 101, in checkModule
self.assertListEq(real_bases, pyclbr_bases, ignore)
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 28, in assertListEq
self.fail("%r missing" % missing.pop())
AssertionError: 'object' missing
======================================================================
FAIL: test_others (test.test_pyclbr.PyclbrTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 158, in test_others
cm('random', ignore=('Random',)) # from _random import Random as CoreGenera
tor
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 101, in checkModule
self.assertListEq(real_bases, pyclbr_bases, ignore)
File "Y:\py3k\__svn__\lib\test\test_pyclbr.py", line 28, in assertListEq
self.fail("%r missing" % missing.pop())
AssertionError: 'Random' missing
And a test_sys failure which is probably easy to fix:
File "Z:\__svn__\lib\test\test_sys.py", line 831, in test_objecttypes
check(s, basicsize)
File "Z:\__svn__\lib\test\test_sys.py", line 601, in check_sizeof
self.assertEqual(result, size, msg)
AssertionError: wrong size for <class 'str'>: got 74, expected 66
All these tests pass in 32-bit mode.
Case, you can run the regression test suite with:
python.exe -m test.regrtest
and invidual tests with e.g.:
python.exe -m test.regrtest -v test_dictviews |
|
Date |
User |
Action |
Args |
2010-10-23 16:23:36 | pitrou | set | recipients:
+ pitrou, lemburg, tim.peters, loewis, skip.montanaro, georg.brandl, rhettinger, jimjjewett, mark.dickinson, belopolsky, casevh, ked-tao, benjamin.peterson |
2010-10-23 16:23:35 | pitrou | set | messageid: <1287851015.83.0.0947346145268.issue9778@psf.upfronthosting.co.za> |
2010-10-23 16:23:32 | pitrou | link | issue9778 messages |
2010-10-23 16:23:31 | pitrou | create | |
|