[Python-checkins] cpython: Fix fallback base class when tests run without threading

eric.araujo python-checkins at python.org
Mon Sep 19 16:10:51 CEST 2011


http://hg.python.org/cpython/rev/6feda7ae35c3
changeset:   72403:6feda7ae35c3
parent:      72391:d3e072083ff3
user:        Éric Araujo <merwok at netwok.org>
date:        Sun Sep 18 17:00:38 2011 +0200
summary:
  Fix fallback base class when tests run without threading

files:
  Lib/packaging/tests/test_command_upload_docs.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/packaging/tests/test_command_upload_docs.py b/Lib/packaging/tests/test_command_upload_docs.py
--- a/Lib/packaging/tests/test_command_upload_docs.py
+++ b/Lib/packaging/tests/test_command_upload_docs.py
@@ -19,7 +19,7 @@
     from packaging.tests.pypi_server import PyPIServerTestCase
 except ImportError:
     threading = None
-    PyPIServerTestCase = object
+    PyPIServerTestCase = unittest.TestCase
 
 
 PYPIRC = """\

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list