[Zope3-dev] datetime?

Guido van Rossum guido@python.org
Mon, 07 Oct 2002 14:43:20 -0400


> I just tried to run the unit tests from a fresh build.  I get a
> failure as its try to load the various test modules:
> 
> Error importing Zope.App.Forms.Views.Browser.tests.testBrowserWidget
> No module named datetime
>   File "/usr/home/jeremy/src/Zope3/lib/python/Zope/Schema/_Field.py",
>   line 29, i
> n ?
>     from datetime import datetime
> 
> Where does this magic datetime module come from?  I can't find it in
> the zope checkout.  The only one I know about is in the
> nondist/sandbox directory of Python CVS.  Did someone check in tests
> that only run with a third-party package installed on sys.path?

Jim added a copy of datetime to Zope 3.

Try cvs up -d -P.

--Guido van Rossum (home page: http://www.python.org/~guido/)