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 018339b commit 2d3ade6Copy full SHA for 2d3ade6
1 file changed
tests/test_common.py
@@ -148,6 +148,16 @@ def test_stdlib_modules():
148
), f"Missing stdlib modules: {', '.join(str(m) for m in missing)}"
149
150
151
+def test_sysconfig_data():
152
+ "sysconfigdata can be obtained for the platform"
153
+ import sysconfig
154
+
155
+ # Assert that the config exists and isn't empty. The contents is platform dependent,
156
+ # but we just need to know the module was found.
157
+ config_vars = sysconfig.get_config_vars()
158
+ assert len(config_vars.keys()) > 20
159
160
161
def test_bzip2():
162
"BZip2 compression with the bz2 module works"
163
import bz2
0 commit comments