mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Whitespace fixes to make the commit hook on hg.python.org happy.
This commit is contained in:
parent
ded28e3863
commit
52e40cd9ec
@ -100,7 +100,7 @@ def _get_vc_env(plat_spec):
|
||||
(line.partition('=') for line in out.splitlines())
|
||||
if key and value
|
||||
}
|
||||
|
||||
|
||||
if vcruntime:
|
||||
env['py_vcruntime_redist'] = vcruntime
|
||||
return env
|
||||
@ -236,7 +236,7 @@ class MSVCCompiler(CCompiler) :
|
||||
'/nologo', '/Ox', '/W3', '/GL', '/DNDEBUG'
|
||||
]
|
||||
self.compile_options.append('/MD' if self._vcruntime_redist else '/MT')
|
||||
|
||||
|
||||
self.compile_options_debug = [
|
||||
'/nologo', '/Od', '/MDd', '/Zi', '/W3', '/D_DEBUG'
|
||||
]
|
||||
|
@ -77,7 +77,7 @@ class msvccompilerTestCase(support.TempdirManager,
|
||||
compiler.initialize()
|
||||
dll = compiler._vcruntime_redist
|
||||
self.assertTrue(os.path.isfile(dll))
|
||||
|
||||
|
||||
compiler._copy_vcruntime(tempdir)
|
||||
|
||||
self.assertFalse(os.path.isfile(os.path.join(
|
||||
|
Loading…
Reference in New Issue
Block a user