diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2015-04-15 18:52:39 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2015-04-15 18:52:39 (GMT) |
commit | 807b80d4ec9d9dd2c0f5e6a4bf07caa7c90625e1 (patch) | |
tree | 3cc4136e84be8b023b731c5d2ed0caabe857c3e5 /Lib/test | |
parent | 092f616a978595450a0554e4844136bc12b35ce2 (diff) | |
download | cpython-807b80d4ec9d9dd2c0f5e6a4bf07caa7c90625e1.zip cpython-807b80d4ec9d9dd2c0f5e6a4bf07caa7c90625e1.tar.gz cpython-807b80d4ec9d9dd2c0f5e6a4bf07caa7c90625e1.tar.bz2 |
- #22980: fix typo in Lib/test/test_sysconfig.py triplet test
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_sysconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py index 0d915b1..cc70422 100644 --- 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'): + if re.match('(i[3-6]86|x86_64)$', machine): if ctypes.sizeof(ctypes.c_char_p()) == 4: self.assertTrue(suffix.endswith('i386-linux-gnu.so') \ or suffix.endswith('x86_64-linux-gnux32.so'), |