mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-40280: Add requires_fork test helper (GH-30622)
This commit is contained in:
parent
5cd9a162cd
commit
91e33ac3d0
10 changed files with 34 additions and 18 deletions
|
@ -412,6 +412,8 @@ class TestSysConfig(unittest.TestCase):
|
|||
'EXT_SUFFIX required for this test')
|
||||
def test_EXT_SUFFIX_in_vars(self):
|
||||
import _imp
|
||||
if not _imp.extension_suffixes():
|
||||
self.skipTest("stub loader has no suffixes")
|
||||
vars = sysconfig.get_config_vars()
|
||||
self.assertIsNotNone(vars['SO'])
|
||||
self.assertEqual(vars['SO'], vars['EXT_SUFFIX'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue