diff options
author | PJ Eby <distutils-sig@python.org> | 2007-03-02 01:23:32 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2007-03-02 01:23:32 +0000 |
commit | 08f3761c19825414ef0d33f584a667444ccb5523 (patch) | |
tree | cceebdda69bc246b02c1295f03fafeec52fc4eb1 /setuptools/command/test.py | |
parent | 34eb083f0db12e97f966f9312d23f07ddf962116 (diff) | |
download | external_python_setuptools-08f3761c19825414ef0d33f584a667444ccb5523.tar.gz external_python_setuptools-08f3761c19825414ef0d33f584a667444ccb5523.tar.bz2 external_python_setuptools-08f3761c19825414ef0d33f584a667444ccb5523.zip |
Fix problem activating dependencies for tests (backport from trunk)
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4054072
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r-- | setuptools/command/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py index fe024c60..f8a1169f 100644 --- a/setuptools/command/test.py +++ b/setuptools/command/test.py @@ -96,6 +96,7 @@ class test(Command): try: sys.path.insert(0, normalize_path(ei_cmd.egg_base)) working_set.__init__() + add_activation_listener(lambda dist: dist.activate()) require('%s==%s' % (ei_cmd.egg_name, ei_cmd.egg_version)) func() finally: @@ -120,7 +121,6 @@ class test(Command): - def run_tests(self): import unittest loader_ep = EntryPoint.parse("x="+self.test_loader) |