On Wed, Dec 30, 2009 at 6:38 PM, Martijn Faassen <faas...@startifact.com> wrote:
> zope.testing.doctestunit emits a deprecation warning. It also defines a
> function pprint. How does one use pprint without getting a deprecation
> warning? It seems impossible now, and an equivalent pprint doesn't
> appear to be in the standard library doctest..

When I recently converted some tests, I replaced that pprint function
with the one from the standard library:

from pprint import pprint

There weren't any differences in the output, as far as I could tell.

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to