]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix fallback base class when tests run without threading
authorÉric Araujo <merwok@netwok.org>
Sun, 18 Sep 2011 15:00:38 +0000 (17:00 +0200)
committerÉric Araujo <merwok@netwok.org>
Sun, 18 Sep 2011 15:00:38 +0000 (17:00 +0200)
Lib/packaging/tests/test_command_upload_docs.py

index 4070279b7aeab6725bef94687bf1736655839e68..c00f5c1c4a4d231dbbd1e268095fdd8589d46ad3 100644 (file)
@@ -19,7 +19,7 @@ try:
     from packaging.tests.pypi_server import PyPIServerTestCase
 except ImportError:
     threading = None
-    PyPIServerTestCase = object
+    PyPIServerTestCase = unittest.TestCase
 
 
 PYPIRC = """\