[Zope3-checkins] SVN: Zope3/trunk/src/zope/testbrowser/__init__.py tweak imports so they'll work outside of Zope 3

Benji York benji at zope.com
Sat Feb 18 15:59:24 EST 2006


Log message for revision 41678:
  tweak imports so they'll work outside of Zope 3
  

Changed:
  U   Zope3/trunk/src/zope/testbrowser/__init__.py

-=-
Modified: Zope3/trunk/src/zope/testbrowser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/testbrowser/__init__.py	2006-02-18 20:57:54 UTC (rev 41677)
+++ Zope3/trunk/src/zope/testbrowser/__init__.py	2006-02-18 20:59:24 UTC (rev 41678)
@@ -16,10 +16,9 @@
 $Id$
 """
 
-from zope.deprecation import deprecated
-
 try:
     from testing import Browser
+    from zope.deprecation import deprecated
     deprecated('Browser',
         'importing Browser from zope.testbrowser has been deprecated and will'
         ' be removed in 3.5; import Browser from zope.testbrowser.testing'



More information about the Zope3-Checkins mailing list