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

Unified Diff: Lib/distutils/tests/test_install_lib.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_cygwinccompiler.py ('k') | Lib/distutils/tests/test_install.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/distutils/tests/test_install_lib.py Tue Mar 01 10:26:10 2016 +0200
+++ b/Lib/distutils/tests/test_install_lib.py Wed Mar 02 00:01:35 2016 +0000
@@ -30,16 +30,17 @@ class InstallLibTestCase(support.Tempdir
cmd.optimize = '4'
self.assertRaises(DistutilsOptionError, cmd.finalize_options)
cmd.optimize = '2'
cmd.finalize_options()
self.assertEqual(cmd.optimize, 2)
@unittest.skipIf(sys.dont_write_bytecode, 'byte-compile disabled')
+ @unittest.skipUnless(os.name == 'nt' or (os.name == 'posix' and hasattr(os, 'fork')), "distutils cannot spawn child processes")
def test_byte_compile(self):
project_dir, dist = self.create_dist()
os.chdir(project_dir)
cmd = install_lib(dist)
cmd.compile = cmd.optimize = 1
f = os.path.join(project_dir, 'foo.py')
self.write_file(f, '# python file')
« no previous file with comments | « Lib/distutils/tests/test_cygwinccompiler.py ('k') | Lib/distutils/tests/test_install.py » ('j') | no next file with comments »

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