[CMF-checkins] CVS: CMF/CMFUid/tests - test_all.py:1.3.2.2
test_uidannotation.py:1.5.2.3 test_uidgeneration.py:1.8.2.2
test_uidhandling.py:1.8.2.3
Tres Seaver
tseaver at palladion.com
Fri Jul 8 09:25:03 EDT 2005
Update of /cvs-repository/CMF/CMFUid/tests
In directory cvs.zope.org:/tmp/cvs-serv4941/CMFUid/tests
Modified Files:
Tag: CMF-1_5-branch
test_all.py test_uidannotation.py test_uidgeneration.py
test_uidhandling.py
Log Message:
- Remove bare except in BBB imports.
=== CMF/CMFUid/tests/test_all.py 1.3.2.1 => 1.3.2.2 ===
--- CMF/CMFUid/tests/test_all.py:1.3.2.1 Fri Jul 8 08:28:31 2005
+++ CMF/CMFUid/tests/test_all.py Fri Jul 8 09:24:33 2005
@@ -19,7 +19,7 @@
import Testing
try:
import Zope2
-except: # BBB: for Zope 2.7
+except ImportError: # BBB: for Zope 2.7
import Zope as Zope2
Zope2.startup()
=== CMF/CMFUid/tests/test_uidannotation.py 1.5.2.2 => 1.5.2.3 ===
--- CMF/CMFUid/tests/test_uidannotation.py:1.5.2.2 Fri Jul 8 08:28:31 2005
+++ CMF/CMFUid/tests/test_uidannotation.py Fri Jul 8 09:24:33 2005
@@ -19,7 +19,7 @@
import Testing
try:
import Zope2
-except: # BBB: for Zope 2.7
+except ImportError: # BBB: for Zope 2.7
import Zope as Zope2
Zope2.startup()
=== CMF/CMFUid/tests/test_uidgeneration.py 1.8.2.1 => 1.8.2.2 ===
--- CMF/CMFUid/tests/test_uidgeneration.py:1.8.2.1 Fri Jul 8 08:28:31 2005
+++ CMF/CMFUid/tests/test_uidgeneration.py Fri Jul 8 09:24:33 2005
@@ -19,7 +19,7 @@
import Testing
try:
import Zope2
-except: # BBB: for Zope 2.7
+except ImportError: # BBB: for Zope 2.7
import Zope as Zope2
Zope2.startup()
=== CMF/CMFUid/tests/test_uidhandling.py 1.8.2.2 => 1.8.2.3 ===
--- CMF/CMFUid/tests/test_uidhandling.py:1.8.2.2 Fri Jul 8 08:28:31 2005
+++ CMF/CMFUid/tests/test_uidhandling.py Fri Jul 8 09:24:33 2005
@@ -19,7 +19,7 @@
import Testing
try:
import Zope2
-except: # BBB: for Zope 2.7
+except ImportError: # BBB: for Zope 2.7
import Zope as Zope2
Zope2.startup()
More information about the CMF-checkins
mailing list