30 Dec
2009
30 Dec
'09
5:45 p.m.
On Wed, Dec 30, 2009 at 6:38 PM, Martijn Faassen <faassen@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. Hanno