We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af50632 commit b397f40Copy full SHA for b397f40
1 file changed
Lib/test/test_sysconfig.py
@@ -619,7 +619,8 @@ def test_abiflags(self):
619
self.assertIsInstance(ABIFLAGS, str)
620
self.assertIn(abiflags, ABIFLAGS)
621
if ABIFLAGS:
622
- self.assertTrue(ABIFLAGS.isalpha(), ABIFLAGS)
+ self.assertLessEqual(ABIFLAGS.count('_'), 1) # example value on Windows: 't_d'
623
+ self.assertTrue(ABIFLAGS.replace('_', '').isalpha(), ABIFLAGS)
624
625
if os.name == 'nt':
626
self.assertEqual(abiflags, '')
0 commit comments