Re: zope.testing.doctestunit and BBB

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20091221212314.GA4674@platonas>
On Mon, Dec 21, 2009 at 07:41:24PM +0100, Lennart Regebro wrote:
> On Mon, Dec 21, 2009 at 13:20, Marius Gedminas <[email protected]> wrote:
> > Can you please make it a PendingDeprecationWarning first?
> 
> Yeah, I guess, but why?

Because I hate it when my code emits DeprecationWarnings, and I wasn't
sure I could throw a switch and migrate to stdlib's doctest.py today
without extensive tests/preparation.

Key word being "wasn't".

I migrated my codebase to use stdlib's doctest.py today, and nothing
broke, to my surprise.  Even coverage support continues to work fine (at
some point just having 'import doctest' could make bin/test --coverage
forget about half the code it's seen).

So, I'm fine with a DeprecationWarning.

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)

iD8DBQFLL+dBkVdEXeem148RApEoAJ9xOUvCy+f/Zeq35G7a2ZvtO5GhAACfRacs
ve6a6eabKPFjyX64iK49sgo=
=tUdl
-----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.