gh-127405: Add ABIFLAGS to sysconfig variables on Windows (GH-131799)

This commit is contained in:
Xuehai Pan 2025-04-11 23:19:03 +08:00 committed by GitHub
parent 9ded6f0830
commit 26ae05e95c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 99 additions and 7 deletions

View file

@ -724,6 +724,8 @@ class SysModuleTest(unittest.TestCase):
self.assertIn(sys.float_repr_style, ('short', 'legacy'))
if not sys.platform.startswith('win'):
self.assertIsInstance(sys.abiflags, str)
else:
self.assertFalse(hasattr(sys, 'abiflags'))
def test_thread_info(self):
info = sys.thread_info