Commit 71a75cab authored by Jason R. Coombs's avatar Jason R. Coombs

Remove test_build_egg. The test doesn't work and it's difficult to test...

Remove test_build_egg. The test doesn't work and it's difficult to test _build_egg given the current interface.
parent bfe8fb26
...@@ -35,15 +35,6 @@ class TestSetup(unittest.TestCase): ...@@ -35,15 +35,6 @@ class TestSetup(unittest.TestCase):
os.chdir(self.cwd) os.chdir(self.cwd)
sys.path = copy.copy(self.old_sys_path) sys.path = copy.copy(self.old_sys_path)
def test_build_egg(self):
# making it an egg
egg = _build_egg('Egg to be built', self.zipball, self.tmpdir)
# now trying to import it
sys.path[0] = egg
import setuptools
self.assertTrue(setuptools.__file__.startswith(egg))
def test_do_download(self): def test_do_download(self):
tmpdir = tempfile.mkdtemp() tmpdir = tempfile.mkdtemp()
_do_download(DEFAULT_VERSION, DEFAULT_URL, tmpdir, 1) _do_download(DEFAULT_VERSION, DEFAULT_URL, tmpdir, 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment