You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trunk$ ./python Lib/test/regrtest.py -ubsddb,network -R::
test_collections
test_collections
beginning 9 repetitions
123456789
test test_collections failed -- Traceback (most recent call last):
File "/home/heimes/dev/python/trunk/Lib/doctest.py", line 2131, in runTestraiseself.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for collections.namedtuple
File "/home/heimes/dev/python/trunk/Lib/collections.py", line 13, in
namedtuple
----------------------------------------------------------------------
File "/home/heimes/dev/python/trunk/Lib/collections.py", line 16, in
collections.namedtuple
Failed example:
Point = namedtuple('Point', 'x y')
Exception raised:
Traceback (most recent call last):
File "/home/heimes/dev/python/trunk/Lib/doctest.py", line 1231, in
__run
compileflags, 1) in test.globs
File "<doctest collections.namedtuple[0]>", line 1, in<module>
Point = namedtuple('Point', 'x y')
NameError: name 'namedtuple'isnot defined
Activity
tiran commentedon Mar 21, 2008
abalkin commentedon Mar 25, 2008
This is a duplicate of bpo-2223. (See msg63244.)
tiran commentedon May 8, 2008
The tests are passing again.