[CMF-checkins] CVS: Products/CMFCore/tests/base -
testcase.py:1.14.2.1
Tres Seaver
tseaver at palladion.com
Tue Jun 14 21:20:57 EDT 2005
Update of /cvs-repository/Products/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv9978/CMFCore/tests/base
Modified Files:
Tag: tseaver-z28_only-branch
testcase.py
Log Message:
- Zope 2.7 is dead! Long live Zope 2.8!
=== Products/CMFCore/tests/base/testcase.py 1.14 => 1.14.2.1 ===
--- Products/CMFCore/tests/base/testcase.py:1.14 Wed Apr 6 05:54:45 2005
+++ Products/CMFCore/tests/base/testcase.py Tue Jun 14 21:20:27 2005
@@ -1,9 +1,5 @@
from unittest import TestCase
-try:
- import Zope2
-except ImportError:
- # BBB: for Zope 2.7
- import Zope as Zope2
+import Zope2
Zope2.startup()
from os import curdir, mkdir, stat, remove
@@ -17,11 +13,7 @@
from AccessControl.SecurityManagement import noSecurityManager
from AccessControl.SecurityManager import setSecurityPolicy
from Testing.makerequest import makerequest
-try:
- import transaction
-except ImportError:
- # BBB: for Zope 2.7
- from Products.CMFCore.utils import transaction
+import transaction
from dummy import DummyFolder
from security import AnonymousUser
More information about the CMF-checkins
mailing list