[Python-checkins] cpython: Issue #3080: skip test_bdist_rpm if sys.executable is not encodable to UTF-8 (original) (raw)
victor.stinner python-checkins at python.org
Sun Mar 20 04:14:10 CET 2011
- Previous message: [Python-checkins] cpython: Issue #3080: Add PyImport_ImportModuleLevelObject() function
- Next message: [Python-checkins] cpython: Issue #3080: Fix case_ok() using case_bytes()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/cpython/rev/cc7c0f6f60bf changeset: 68740:cc7c0f6f60bf user: Victor Stinner <victor.stinner at haypocalc.com> date: Mon Mar 14 20:03:36 2011 -0400 summary: Issue #3080: skip test_bdist_rpm if sys.executable is not encodable to UTF-8
files: Lib/distutils/tests/test_bdist_rpm.py
diff --git a/Lib/distutils/tests/test_bdist_rpm.py b/Lib/distutils/tests/test_bdist_rpm.py --- a/Lib/distutils/tests/test_bdist_rpm.py +++ b/Lib/distutils/tests/test_bdist_rpm.py @@ -28,6 +28,11 @@ unittest.TestCase):
def setUp(self):
try:
sys.executable.encode("UTF-8")
except UnicodeEncodeError:
raise unittest.SkipTest("sys.executable is not encodable to UTF-8")
super(BuildRpmTestCase, self).setUp() self.old_location = os.getcwd() self.old_sys_argv = sys.argv, sys.argv[:]
-- Repository URL: http://hg.python.org/cpython
- Previous message: [Python-checkins] cpython: Issue #3080: Add PyImport_ImportModuleLevelObject() function
- Next message: [Python-checkins] cpython: Issue #3080: Fix case_ok() using case_bytes()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]