Skip to content

Commit

Permalink
Dodge spurious atexit error after running tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrose committed Mar 22, 2013
1 parent 12db16a commit 04cabbe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Expand Up @@ -2,6 +2,13 @@
import re
from os.path import join, dirname

# Prevent spurious errors during `python setup.py test`, a la
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
try:
import multiprocessing
except ImportError:
pass

from setuptools import setup, find_packages


Expand Down

0 comments on commit 04cabbe

Please sign in to comment.