mirror of https://github.com/python/cpython.git
Whitespace normalization.
This commit is contained in:
parent
79665b1403
commit
ef3f32f965
|
@ -82,7 +82,7 @@ def _darwin_compiler_fixup(compiler_so, cc_args):
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Check if the SDK that is used during compilation actually exists,
|
# Check if the SDK that is used during compilation actually exists,
|
||||||
# the universal build requires the usage of a universal SDK and not all
|
# the universal build requires the usage of a universal SDK and not all
|
||||||
# users have that installed by default.
|
# users have that installed by default.
|
||||||
sysroot = None
|
sysroot = None
|
||||||
|
|
|
@ -18,7 +18,7 @@ def remove_files(name):
|
||||||
|
|
||||||
|
|
||||||
class ImportTest(unittest.TestCase):
|
class ImportTest(unittest.TestCase):
|
||||||
|
|
||||||
def testCaseSensitivity(self):
|
def testCaseSensitivity(self):
|
||||||
# Brief digression to test that import is case-sensitive: if we got this
|
# Brief digression to test that import is case-sensitive: if we got this
|
||||||
# far, we know for sure that "random" exists.
|
# far, we know for sure that "random" exists.
|
||||||
|
@ -56,7 +56,7 @@ def test_with_extension(ext):
|
||||||
mod = __import__(TESTFN)
|
mod = __import__(TESTFN)
|
||||||
except ImportError, err:
|
except ImportError, err:
|
||||||
self.fail("import from %s failed: %s" % (ext, err))
|
self.fail("import from %s failed: %s" % (ext, err))
|
||||||
|
|
||||||
self.assertEquals(mod.a, a,
|
self.assertEquals(mod.a, a,
|
||||||
"module loaded (%s) but contents invalid" % mod)
|
"module loaded (%s) but contents invalid" % mod)
|
||||||
self.assertEquals(mod.b, b,
|
self.assertEquals(mod.b, b,
|
||||||
|
|
|
@ -664,7 +664,7 @@ def buildPython():
|
||||||
for dn in dirnames:
|
for dn in dirnames:
|
||||||
os.chmod(os.path.join(dirpath, dn), 0775)
|
os.chmod(os.path.join(dirpath, dn), 0775)
|
||||||
os.chown(os.path.join(dirpath, dn), -1, gid)
|
os.chown(os.path.join(dirpath, dn), -1, gid)
|
||||||
|
|
||||||
|
|
||||||
for fn in filenames:
|
for fn in filenames:
|
||||||
if os.path.islink(fn):
|
if os.path.islink(fn):
|
||||||
|
|
Loading…
Reference in New Issue