[issue2223] regrtest.py -R not working
Hirokazu Yamamoto
report at bugs.python.org
Tue Mar 4 05:27:17 CET 2008
Hirokazu Yamamoto added the comment:
I can see test_collections.py failure even on r61203
(just before Christian's commit) - r61098 (removed abc._Abstract)
E:\python-dev\trunk\Lib\test>py regrtest.py -R :: test_collections.py
test_collections
beginning 9 repetitions
123456789
test test_collections failed -- Traceback (most recent call last):
File "e:\python-dev\trunk\lib\doctest.py", line 2131, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for collections.namedtuple
File "e:\python-dev\trunk\lib\collections.py", line 13, in namedtuple
----------------------------------------------------------------------
File "e:\python-dev\trunk\lib\collections.py", line 16, in
collections.namedtupl
e
Failed example:
Point = namedtuple('Point', 'x y')
Exception raised:
Traceback (most recent call last):
File "e:\python-dev\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' is not defined
(snip)
I'll run py regrtest.py -R :: on r61203 - r61098 and compare its
result to Alexander's result, but my machine is damn slow, probably
it'll take long time.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2223>
__________________________________
More information about the Python-bugs-list
mailing list