[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_textwidget.py:1.4

Fred L. Drake, Jr. fred@zope.com
Tue, 8 Apr 2003 16:02:15 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv22190

Modified Files:
	test_textwidget.py 
Log Message:
Change the imports to avoid two unused imports.


=== Zope3/src/zope/app/browser/form/tests/test_textwidget.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/form/tests/test_textwidget.py:1.3	Wed Jan 15 10:44:33 2003
+++ Zope3/src/zope/app/browser/form/tests/test_textwidget.py	Tue Apr  8 16:02:14 2003
@@ -14,9 +14,9 @@
 """
 $Id$
 """
-from unittest import TestCase, TestSuite, main, makeSuite
-from zope.app.browser.form.widget import TextWidget
+import unittest
 
+from zope.app.browser.form.widget import TextWidget
 from zope.app.browser.form.tests.test_browserwidget import BrowserWidgetTest
 
 
@@ -47,7 +47,7 @@
 
 
 def test_suite():
-    return makeSuite(TextWidgetTest)
+    return unittest.makeSuite(TextWidgetTest)
 
 if __name__=='__main__':
-    main(defaultTest='test_suite')
+    unittest.main(defaultTest='test_suite')