add the setuptools hack for setup.py test

Issue #2782 resolved
Mike Bayer repo owner created an issue

master, 0.8, 0.7:

# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when running `python
# setup.py test` (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
    import multiprocessing
except ImportError:
    pass

Comments (3)

  1. Log in to comment