mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix fallback base class when tests run without threading
This commit is contained in:
parent
e30186bf4b
commit
41479450ec
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ try:
|
|||
from packaging.tests.pypi_server import PyPIServerTestCase
|
||||
except ImportError:
|
||||
threading = None
|
||||
PyPIServerTestCase = object
|
||||
PyPIServerTestCase = unittest.TestCase
|
||||
|
||||
|
||||
PYPIRC = """\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue