[Zope3-checkins] CVS: Zope3/src/zope/interface/tests - test_document.py:1.3 test_implements.py:1.4 test_interface.py:1.4 test_type.py:1.6 test_verify.py:1.3 test_visitimplements.py:1.3
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:15 -0400
Update of /cvs-repository/Zope3/src/zope/interface/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/interface/tests
Modified Files:
test_document.py test_implements.py test_interface.py
test_type.py test_verify.py test_visitimplements.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/interface/tests/test_document.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/tests/test_document.py:1.2 Wed Dec 25 09:15:12 2002
+++ Zope3/src/zope/interface/tests/test_document.py Thu May 1 15:35:44 2003
@@ -17,7 +17,7 @@
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.interface import Interface
from zope.interface.interface import Attribute
=== Zope3/src/zope/interface/tests/test_implements.py 1.3 => 1.4 ===
--- Zope3/src/zope/interface/tests/test_implements.py:1.3 Tue Jan 7 07:14:56 2003
+++ Zope3/src/zope/interface/tests/test_implements.py Thu May 1 15:35:44 2003
@@ -17,10 +17,9 @@
"""
from zope.interface import Interface
from zope.interface.implements import implements
-from zope.interface.exceptions import DoesNotImplement, BrokenImplementation
-from zope.interface.exceptions import BrokenMethodImplementation
+from zope.interface.exceptions import BrokenImplementation
-import unittest, sys
+import unittest
class Test(unittest.TestCase):
=== Zope3/src/zope/interface/tests/test_interface.py 1.3 => 1.4 ===
--- Zope3/src/zope/interface/tests/test_interface.py:1.3 Sat Jan 25 00:13:47 2003
+++ Zope3/src/zope/interface/tests/test_interface.py Thu May 1 15:35:44 2003
@@ -13,7 +13,6 @@
##############################################################################
import unittest
-import zope.interface
from zope.interface.tests.unitfixtures import * # hehehe
from zope.interface.exceptions import BrokenImplementation
from zope.interface.implements import instancesOfObjectImplements
=== Zope3/src/zope/interface/tests/test_type.py 1.5 => 1.6 ===
--- Zope3/src/zope/interface/tests/test_type.py:1.5 Fri Jan 31 11:22:03 2003
+++ Zope3/src/zope/interface/tests/test_type.py Thu May 1 15:35:44 2003
@@ -17,7 +17,7 @@
$Id$
"""
-import unittest, sys
+import unittest
from zope.interface.type import TypeRegistry
from zope.interface import Interface
=== Zope3/src/zope/interface/tests/test_verify.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/tests/test_verify.py:1.2 Wed Dec 25 09:15:12 2002
+++ Zope3/src/zope/interface/tests/test_verify.py Thu May 1 15:35:44 2003
@@ -23,7 +23,7 @@
from zope.interface.exceptions import DoesNotImplement, BrokenImplementation
from zope.interface.exceptions import BrokenMethodImplementation
-import unittest, sys
+import unittest
class Test(unittest.TestCase):
=== Zope3/src/zope/interface/tests/test_visitimplements.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/tests/test_visitimplements.py:1.2 Wed Dec 25 09:15:12 2002
+++ Zope3/src/zope/interface/tests/test_visitimplements.py Thu May 1 15:35:44 2003
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-import unittest, sys
+import unittest
from zope.interface.implements import visitImplements
from zope.interface import Interface