https://github.com/python/cpython/commit/659e262a288ca93dd2fb8cc228e6c4a3f4a56e67
commit: 659e262a288ca93dd2fb8cc228e6c4a3f4a56e67
branch: main
author: Furkan Onder <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-09-18T08:20:55+01:00
summary:

gh-157688: Test `EXT_SUFFIX` platform triplet on RISC-V (#157690)

files:
M Lib/test/test_sysconfig.py

diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index b40d1a23e13df9..126e314db14916 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -583,7 +583,7 @@ def test_linux_ext_suffix(self):
         ctypes = import_module('ctypes')
         machine = platform.machine()
         suffix = sysconfig.get_config_var('EXT_SUFFIX')
-        if re.match('(aarch64|arm|mips|ppc|powerpc|s390|sparc)', machine):
+        if re.match('(aarch64|arm|mips|ppc|powerpc|riscv|s390|sparc)', 
machine):
             self.assertTrue('linux' in suffix, suffix)
         if re.match('(i[3-6]86|x86_64)$', machine):
             if ctypes.sizeof(ctypes.c_char_p()) == 4:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to