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 cdad9a4 commit d6757c8Copy full SHA for d6757c8
Lib/test/test_build_details.py
@@ -127,9 +127,8 @@ def test_base_interpreter(self):
127
def test_c_api(self):
128
value = self.key('c_api')
129
self.assertTrue(os.path.exists(os.path.join(value['headers'], 'Python.h')))
130
- if 'pkgconfig_path' in value:
131
- version = sysconfig.get_config_var('VERSION')
132
- self.assertTrue(os.path.exists(os.path.join(value['pkgconfig_path'], f'python-{version}.pc')))
+ version = sysconfig.get_config_var('VERSION')
+ self.assertTrue(os.path.exists(os.path.join(value['pkgconfig_path'], f'python-{version}.pc')))
133
134
135
if __name__ == '__main__':
0 commit comments