Commit 92f39994 authored by Tarek Ziade's avatar Tarek Ziade

added a test that is supposely breaking - refs #152

--HG--
branch : distribute
extra : rebase_source : 2fa447a630d946a3adf5886115d89065a675ece2
parent a33917ae
......@@ -32,7 +32,7 @@ depends.txt = setuptools.command.egg_info:warn_depends_obsolete
[console_scripts]
easy_install = setuptools.command.easy_install:main
easy_install-2.7 = setuptools.command.easy_install:main
easy_install-2.5 = setuptools.command.easy_install:main
[setuptools.file_finders]
svn_cvs = setuptools.command.sdist:_default_revctrl
......
......@@ -10,6 +10,16 @@ from setuptools.command import easy_install as easy_install_pkg
from setuptools.dist import Distribution
from pkg_resources import Distribution as PRDistribution
try:
import multiprocessing
import logging
_LOG = logging.getLogger('test_easy_install')
logging.basicConfig(level=logging.INFO, stream=sys.stderr)
_MULTIPROC = True
except ImportError:
_MULTIPROC = False
_LOG = None
class FakeDist(object):
def get_entry_map(self, group):
if group != 'console_scripts':
......@@ -186,3 +196,8 @@ class TestUserInstallTest(unittest.TestCase):
content.sort()
self.assertEquals(content, ['UNKNOWN.egg-link', 'easy-install.pth'])
def test_multiproc_atexit(self):
if not _MULTIPROC:
return
_LOG.info('this should not break')
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