[Zope3-checkins] CVS: Zope3/src/zope/tal/tests - run.py:1.3 test_sourcepos.py:1.3 test_talgettext.py:1.4

Martijn Faassen m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:20 -0400


Update of /cvs-repository/Zope3/src/zope/tal/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/tal/tests

Modified Files:
	run.py test_sourcepos.py test_talgettext.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/tal/tests/run.py 1.2 => 1.3 ===
--- Zope3/src/zope/tal/tests/run.py:1.2	Wed Dec 25 09:15:31 2002
+++ Zope3/src/zope/tal/tests/run.py	Thu May  1 15:35:49 2003
@@ -17,12 +17,13 @@
 import sys
 import unittest
 
-import zope.tal.tests.utils
-import zope.tal.tests.test_htmltalparser
-import zope.tal.tests.test_talinterpreter
-import zope.tal.tests.test_files
-import zope.tal.tests.test_sourcepos
+from zope.tal.tests import utils
+from zope.tal.tests import test_htmltalparser
+from zope.tal.tests import test_talinterpreter
+from zope.tal.tests import test_files
+from zope.tal.tests import test_sourcepos
 
+# XXX this code isn't picked up by the Zope 3 test framework..
 def test_suite():
     suite = unittest.TestSuite()
     suite.addTest(test_htmltalparser.test_suite())


=== Zope3/src/zope/tal/tests/test_sourcepos.py 1.2 => 1.3 ===
--- Zope3/src/zope/tal/tests/test_sourcepos.py:1.2	Wed Dec 25 09:15:31 2002
+++ Zope3/src/zope/tal/tests/test_sourcepos.py	Thu May  1 15:35:49 2003
@@ -14,7 +14,6 @@
 ##############################################################################
 """Tests for TALInterpreter."""
 
-import sys
 import unittest
 
 from StringIO import StringIO


=== Zope3/src/zope/tal/tests/test_talgettext.py 1.3 => 1.4 ===
--- Zope3/src/zope/tal/tests/test_talgettext.py:1.3	Thu Apr 17 16:05:14 2003
+++ Zope3/src/zope/tal/tests/test_talgettext.py	Thu May  1 15:35:49 2003
@@ -17,7 +17,7 @@
 import sys
 import unittest
 
-from zope.tal.talgettext import POEngine, UpdatePOEngine
+from zope.tal.talgettext import POEngine
 from zope.tal.tests import utils
 
 class test_POEngine(unittest.TestCase):