Fix fallback base class when tests run without threading

This commit is contained in:
Éric Araujo 2011-09-18 17:00:38 +02:00
parent e30186bf4b
commit 41479450ec

View file

@ -19,7 +19,7 @@ try:
from packaging.tests.pypi_server import PyPIServerTestCase
except ImportError:
threading = None
PyPIServerTestCase = object
PyPIServerTestCase = unittest.TestCase
PYPIRC = """\