[Zope3-checkins] SVN: Zope3/trunk/src/pytz/tests/test_docs.py Fixed a Python 2.4 dependency.

Jim Fulton jim at zope.com
Mon May 16 11:26:38 EDT 2005


Log message for revision 30367:
  Fixed a Python 2.4 dependency.
  
  The doctest in Python 2.3 doesn't have DocFileSuite.
  

Changed:
  U   Zope3/trunk/src/pytz/tests/test_docs.py

-=-
Modified: Zope3/trunk/src/pytz/tests/test_docs.py
===================================================================
--- Zope3/trunk/src/pytz/tests/test_docs.py	2005-05-16 15:08:46 UTC (rev 30366)
+++ Zope3/trunk/src/pytz/tests/test_docs.py	2005-05-16 15:26:38 UTC (rev 30367)
@@ -2,7 +2,7 @@
 # -*- coding: ascii -*-
 
 import unittest, os, os.path, sys
-from doctest import DocFileSuite
+from zope.testing.doctest import DocFileSuite
 sys.path.insert(0, os.path.join(os.pardir, os.pardir))
 
 README = DocFileSuite('../README.txt')



More information about the Zope3-Checkins mailing list