Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(123582)

Unified Diff: Lib/distutils/tests/test_util.py

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/distutils/tests/test_sysconfig.py ('k') | Lib/importlib/_bootstrap_external.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/distutils/tests/test_util.py Tue Mar 01 10:26:10 2016 +0200
+++ b/Lib/distutils/tests/test_util.py Wed Mar 02 00:01:35 2016 +0000
@@ -234,16 +234,17 @@ class UtilTestCase(support.EnvironGuard,
# BugsBunny os (it's a great os)
os.name = 'BugsBunny'
self.assertRaises(DistutilsPlatformError,
change_root, 'c:\\root', 'its\\here')
# XXX platforms to be covered: mac
+ @unittest.skipUnless(os.name == 'nt' or (os.name == 'posix' and hasattr(os, 'fork')), "distutils cannot spawn child processes")
def test_check_environ(self):
util._environ_checked = 0
if 'HOME' in os.environ:
del os.environ['HOME']
# posix without HOME
if os.name == 'posix': # this test won't run on windows
check_environ()
« no previous file with comments | « Lib/distutils/tests/test_sysconfig.py ('k') | Lib/importlib/_bootstrap_external.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+