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

Unified Diff: Lib/distutils/tests/test_config_cmd.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_build_py.py ('k') | Lib/distutils/tests/test_cygwinccompiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/distutils/tests/test_config_cmd.py Tue Mar 01 10:26:10 2016 +0200
+++ b/Lib/distutils/tests/test_config_cmd.py Wed Mar 02 00:01:35 2016 +0000
@@ -33,16 +33,17 @@ class ConfigTestCase(support.LoggingSile
numlines = len(f.readlines())
finally:
f.close()
dump_file(this_file, 'I am the header')
self.assertEqual(len(self._logs), numlines+1)
@unittest.skipIf(sys.platform == 'win32', "can't test on Windows")
+ @unittest.skipUnless(hasattr(os, 'fork'), "distutils cannot spawn child processes")
def test_search_cpp(self):
pkg_dir, dist = self.create_dist()
cmd = config(dist)
# simple pattern searches
match = cmd.search_cpp(pattern='xxx', body='/* xxx */')
self.assertEqual(match, 0)
« no previous file with comments | « Lib/distutils/tests/test_build_py.py ('k') | Lib/distutils/tests/test_cygwinccompiler.py » ('j') | no next file with comments »

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