[ python-Bugs-989337 ] test_descr fails on win2k

SourceForge.net noreply at sourceforge.net
Sun Jul 18 21:46:14 CEST 2004


Bugs item #989337, was opened at 2004-07-12 06:07
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989337&group_id=5470

Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_descr fails on win2k

Initial Comment:
>>> from test import test_descr
>>> test_descr.verbose = 1
>>> test_descr.test_main()
Testing weakref segfault...
Testing SF bug 551412 ...
Testing SF bug 570483...
Testing list operations...
checking a+b
checking b in a
checking b in a
checking a[b]
checking a[b:c]
checking a+=b
checking a*=b
checking len(a)
checking a*b
checking b*a
checking a[b]=c
checking a[b:c]=d
Testing dict operations...
checking cmp(a,b)
checking b in a
checking b in a
checking a[b]
checking len(a)
checking a[b]=c
Testing dict constructor ...
Testing dir() ...
Testing int operations...
checking a & b
checking a ^ b
checking a >> b
checking a - b
checking a ** b
checking a + b
checking divmod(a, b)
checking a << b
checking a * b
checking a / b
checking cmp(a, b)
checking a | b
checking a % b
checking int(a)
checking - a
checking ~ a
checking float(a)
checking hex(a)
checking + a
checking long(a)
checking abs(a)
checking oct(a)
Testing long operations...
checking a & b
checking a ^ b
checking a >> b
checking a - b
checking a ** b
checking a + b
checking divmod(a, b)
checking a << b
checking a * b
checking a / b
checking cmp(a, b)
checking a | b
checking a % b
checking int(a)
checking - a
checking ~ a
checking float(a)
checking hex(a)
checking + a
checking long(a)
checking abs(a)
checking oct(a)
Testing float operations...
checking a >= b
checking a - b
checking a > b
checking a ** b
checking a < b
checking a != b
checking a + b
checking a <= b
checking divmod(a, b)
checking a * b
checking a / b
checking a == b
checking a % b
checking int(a)
checking - a
checking float(a)
checking + a
checking long(a)
checking abs(a)
Testing complex operations...
checking a - b
checking a ** b
checking a != b
checking a + b
checking divmod(a, b)
checking a * b
checking a / b
checking a == b
checking a % b
checking - a
checking + a
checking abs(a)
Testing spamlist operations...
checking a+b
checking b in a
checking b in a
checking a[b]
checking a[b:c]
checking a+=b
checking a*=b
checking len(a)
checking a*b
checking b*a
checking a[b]=c
checking a[b:c]=d
Testing spamdict operations...
checking cmp(a,b)
checking b in a
checking b in a
checking a[b]
checking len(a)
checking repr(a)
checking a[b]=c
Testing Python subclass of dict...
pydict stress test ...
Testing Python subclass of list...
Testing __metaclass__...
Testing Python subclass of module...
Testing multiple inheritance...
Testing error messages for MRO disagreement...
Testing multiple inheritance special cases...
Testing ex5 from C3 switch discussion...
Testing MRO monotonicity...
Testing consistentcy with EPG...
Testing object class...
Testing __slots__...
Testing __dict__ and __weakref__ in __slots__...
Testing class attribute propagation...
Testing errors...
Testing class methods...
Testing C-based class methods...
Testing static methods...
Testing C-based static methods...
Testing classic classes...
Testing computed attributes...
Testing __new__ slot override...
Testing mro() and overriding it...
Testing operator overloading...
Testing methods...
Testing special operators...

Traceback (most recent call last):
  File "<pyshell#6>", line 1, in -toplevel-
    test_descr.test_main()
  File "C:\apps\Python24\lib\test\test_descr.py", line
4024, in test_main
    specials()
  File "C:\apps\Python24\lib\test\test_descr.py", line
1875, in specials
    print Letter('w')
PicklingError: Can't pickle <class
'test.test_descr.Letter'>: attribute lookup
test.test_descr.Letter failed
>>> 

This is Python 2.4a1 on win2k pro

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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-07-18 14:46

Message:
Logged In: YES 
user_id=80475

I cannot reproduce this on either WinME or WinXP.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989337&group_id=5470


More information about the Python-bugs-list mailing list