[Zope3-checkins] SVN: Zope3/trunk/src/zope/testing/doctest.py
Outdated Tester class now at least work.
Dmitry Vasiliev
dima at hlabs.spb.ru
Fri Oct 8 03:52:36 EDT 2004
Log message for revision 27790:
Outdated Tester class now at least work.
Maybe it's time to remove the Tester altogether?
Changed:
U Zope3/trunk/src/zope/testing/doctest.py
-=-
Modified: Zope3/trunk/src/zope/testing/doctest.py
===================================================================
--- Zope3/trunk/src/zope/testing/doctest.py 2004-10-08 07:17:07 UTC (rev 27789)
+++ Zope3/trunk/src/zope/testing/doctest.py 2004-10-08 07:52:36 UTC (rev 27790)
@@ -1928,6 +1928,7 @@
DeprecationWarning, stacklevel=2)
if mod is None and globs is None:
raise TypeError("Tester.__init__: must specify mod or globs")
+ from inspect import ismodule as _ismodule
if mod is not None and not _ismodule(mod):
raise TypeError("Tester.__init__: mod must be a module; %r" %
(mod,))
More information about the Zope3-Checkins
mailing list