[Checkins] SVN: zope.contentprovider/trunk/src/zope/contentprovider/tests.py Made tests pas under Python 2.4 again

Lennart Regebro regebro at gmail.com
Tue May 4 04:28:03 EDT 2010


Log message for revision 111912:
  Made tests pas under Python 2.4 again

Changed:
  U   zope.contentprovider/trunk/src/zope/contentprovider/tests.py

-=-
Modified: zope.contentprovider/trunk/src/zope/contentprovider/tests.py
===================================================================
--- zope.contentprovider/trunk/src/zope/contentprovider/tests.py	2010-05-04 08:27:30 UTC (rev 111911)
+++ zope.contentprovider/trunk/src/zope/contentprovider/tests.py	2010-05-04 08:28:02 UTC (rev 111912)
@@ -56,5 +56,7 @@
         doctest.DocFileSuite('README.txt',
             setUp=setUp, tearDown=tearDown,
             optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
+            globs = {'__file__': os.path.join(
+                os.path.dirname(__file__), 'README.txt')}
             ),
         ))



More information about the checkins mailing list