cpython: df6c73f0e375 (original) (raw)
Mercurial > cpython
changeset 95677:df6c73f0e375
- #22980: fix typo in Lib/test/test_sysconfig.py triplet test [#22980]
doko@ubuntu.com | |
---|---|
date | Wed, 15 Apr 2015 20:52:39 +0200 |
parents | 334b34377be0 |
children | e3cc75b1000b |
files | Lib/test/test_sysconfig.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_sysconfig.py 2 |
line wrap: on
line diff
--- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -396,7 +396,7 @@ class TestSysConfig(unittest.TestCase): suffix = sysconfig.get_config_var('EXT_SUFFIX') if re.match('(aarch64|arm|mips|ppc|powerpc|s390|sparc)', machine): self.assertTrue('linux' in suffix, suffix)
if re.match('(i[3-6]86|x86_64)$', 'x86_64'):[](#l1.7)
if re.match('(i[3-6]86|x86_64)$', machine):[](#l1.8) if ctypes.sizeof(ctypes.c_char_p()) == 4:[](#l1.9) self.assertTrue(suffix.endswith('i386-linux-gnu.so') \[](#l1.10) or suffix.endswith('x86_64-linux-gnux32.so'),[](#l1.11)