Commits

Tarek Ziadé committed 8cfcd77

added a test that is supposely breaking - refs #152

  • Participants
  • Parent commits e5d2a60
  • Branches 0.6-maintenance

Comments (0)

Files changed (2)

File distribute.egg-info/entry_points.txt

 
 [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

File setuptools/tests/test_easy_install.py

 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':
         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')
+