[CMF-checkins] SVN: CMF/branches/tseaver-pkg_resources/CMF Remove
cStringIO usage in tests.
Tres Seaver
tseaver at palladion.com
Thu Nov 10 17:09:40 EST 2005
Log message for revision 40041:
Remove cStringIO usage in tests.
Changed:
U CMF/branches/tseaver-pkg_resources/CMFCore/tests/testCookieCrumbler.py
U CMF/branches/tseaver-pkg_resources/CMFCore/tests/test_PortalFolder.py
U CMF/branches/tseaver-pkg_resources/CMFDefault/tests/test_Image.py
-=-
Modified: CMF/branches/tseaver-pkg_resources/CMFCore/tests/testCookieCrumbler.py
===================================================================
--- CMF/branches/tseaver-pkg_resources/CMFCore/tests/testCookieCrumbler.py 2005-11-10 22:06:18 UTC (rev 40040)
+++ CMF/branches/tseaver-pkg_resources/CMFCore/tests/testCookieCrumbler.py 2005-11-10 22:09:40 UTC (rev 40041)
@@ -16,7 +16,7 @@
"""
import base64
-from cStringIO import StringIO
+from StringIO import StringIO
import unittest
import urllib
Modified: CMF/branches/tseaver-pkg_resources/CMFCore/tests/test_PortalFolder.py
===================================================================
--- CMF/branches/tseaver-pkg_resources/CMFCore/tests/test_PortalFolder.py 2005-11-10 22:06:18 UTC (rev 40040)
+++ CMF/branches/tseaver-pkg_resources/CMFCore/tests/test_PortalFolder.py 2005-11-10 22:09:40 UTC (rev 40041)
@@ -20,7 +20,7 @@
import Zope2
Zope2.startup()
-import cStringIO
+from StringIO import StringIO
from AccessControl import SecurityManager
from AccessControl import Unauthorized
@@ -866,7 +866,7 @@
a = Application()
r['Application'] = a
self.root = a
- responseOut = self.responseOut = cStringIO.StringIO()
+ responseOut = self.responseOut = StringIO()
self.app = makerequest( self.root, stdout=responseOut )
self.app._setObject( 'folder1', PortalFolder( 'folder1' ) )
self.app._setObject( 'folder2', PortalFolder( 'folder2' ) )
Modified: CMF/branches/tseaver-pkg_resources/CMFDefault/tests/test_Image.py
===================================================================
--- CMF/branches/tseaver-pkg_resources/CMFDefault/tests/test_Image.py 2005-11-10 22:06:18 UTC (rev 40040)
+++ CMF/branches/tseaver-pkg_resources/CMFDefault/tests/test_Image.py 2005-11-10 22:09:40 UTC (rev 40041)
@@ -21,7 +21,7 @@
Zope2.startup()
from os.path import join as path_join
-from cStringIO import StringIO
+from StringIO import StringIO
import Products
import transaction
More information about the CMF-checkins
mailing list