Jonathan Hartley added the comment:
Attached patch fixes this.
TestCase.run now returns its TestResult object, regardless of whether it was
passed in or created internally. Test assertions added for this. Invoking an
instance of TestCase already returned the return value of .run, so the
Jonathan Hartley added the comment:
Is also exhibited by other class variable being used in the 'output' clause of
the list comprehension:
>>> class C:
... x = 3
... z = [z*x for z in range(4)]
Traceback (most recent call last):
File "", line 1, in
Changes by Jonathan Hartley :
--
nosy: +jonathan.hartley
___
Python tracker
<http://bugs.python.org/issue9228>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jonathan Hartley :
--
nosy: +jonathan.hartley
___
Python tracker
<http://bugs.python.org/issue3561>
___
___
Python-bugs-list mailing list
Unsubscribe: