[Checkins] SVN: zc.buildout/trunk/zc.recipe.testrunner/src/zc/recipe/testrunner/tests.py Removed excess function and imports.

Jim Fulton jim at zope.com
Fri Oct 27 13:40:57 EDT 2006


Log message for revision 70935:
  Removed excess function and imports.
  

Changed:
  U   zc.buildout/trunk/zc.recipe.testrunner/src/zc/recipe/testrunner/tests.py

-=-
Modified: zc.buildout/trunk/zc.recipe.testrunner/src/zc/recipe/testrunner/tests.py
===================================================================
--- zc.buildout/trunk/zc.recipe.testrunner/src/zc/recipe/testrunner/tests.py	2006-10-27 14:09:13 UTC (rev 70934)
+++ zc.buildout/trunk/zc.recipe.testrunner/src/zc/recipe/testrunner/tests.py	2006-10-27 17:40:56 UTC (rev 70935)
@@ -12,20 +12,13 @@
 #
 ##############################################################################
 
-import os, re, shutil, sys, tempfile
-import pkg_resources
+import re
 import zc.buildout.testing
-import zc.recipe.egg
 
 import unittest
 import zope.testing
 from zope.testing import doctest, renormalizing
 
-def dirname(d, level=1):
-    if level == 0:
-        return d
-    return dirname(os.path.dirname(d), level-1)
-
 def setUp(test):
     zc.buildout.testing.buildoutSetUp(test)
     zc.buildout.testing.install_develop('zc.recipe.testrunner', test)



More information about the Checkins mailing list