Re: zope.testing.doctestunit and BBB

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20091220225557.GA14631@platonas>
On Sun, Dec 20, 2009 at 11:12:14PM +0100, Lennart Regebro wrote:
> On Sun, Dec 20, 2009 at 17:36, Marius Gedminas <[email protected]> wrote:
> > My app's buildbot went all red last night, because its config wants the
> > latest zope.testing (for our developers' convenience), and the latest
> > zope.testing release no longer ships its own copy of doctest.py, I
> > guess:
> 
> No, it's still there.
> 
> >  from zope.testing.doctestunit import DocTestSuite
> 
> doctestunit? It's in doctest. That line should be:
> 
> from zope.testing.doctest import DocTestSuite

Good, it means I can run a global search-and-replace over my project and
go back to using the latest test runner.


I don't know if 'doctestunit' was ever a part of the official
zope.testing API, I just know that I've learned to use

  from zope.testing.doctestunit import DocTestSuite

somewhere (Jim's PyCon presentation?  Ancient Zope 3 source tree?), used
it that way for many years, never got as much as a deprecation warning,
and now suddenly disappeared in a bugfix release.

*shrug*

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3 consulting and development

_______________________________________________
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 )
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFLLqt9kVdEXeem148RAnKdAJ943SnWobSU24CVtruwDYd3qRteKQCeMKIR
lqT3jDXgZgsUQrvhPlTHWpw=
=mWkY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.