[Python-Dev] Re: Can't build Zope on Windows w/ 2.4.1c1

Anthony Baxter anthony at interlink.com.au
Fri Mar 11 04:31:37 CET 2005


On Friday 11 March 2005 08:09, Tres Seaver wrote:
> |>By staring at the code of the failing test, it looks like the MRO of the
> |>testcase class has changed:  it declares a 'run' method, which is
> |>supposed to run the external process, which clashes with the 'run'
> |>method of unittest.TestCase.  I don't know what change in the 2.4 ->
> |>2.4.1c1 update would have mucked with the MRO (if a MRO issue is
> |>involved).

Looking in Misc/NEWS, I suspect that this fix is responsible.

- unittest.TestCase.run() and unittest.TestSuite.run() can now be successfully
  extended or overridden by subclasses.  Formerly, the subclassed method would
  be ignored by the rest of the module.  (Bug #1078905).


-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.


More information about the Python-Dev mailing list