On Dec 24, 2009, at 8:50 AM, Fabio Tranchitella wrote:
> I don't think we can avoid the error, and to be honest I consider the code in
> zope.minmax to be wrong.
>
> """
> import zope.testing
> x = zope.testing.doctest.DocTestFile(...
> """
>
> The import is wrong, it should be "zope.testing.doctest", and I fixed it in
> the trunk, and this was the only failure in the ZTK.
I don't think you fixed it on the trunk.
The code now looks like this
import doctest
...
zope.testing.doctest.DocFileSuite('minmax.txt'),
...
You did not import zope.testing.doctest, but the reference to it remains. I
don't think that's a fix.
Zvezdan
_______________________________________________
Zope-Dev maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )