--- a/contrib/import-checker.py Fri Feb 02 04:03:15 2024 +0100
+++ b/contrib/import-checker.py Sat Feb 03 23:45:08 2024 +0100
@@ -195,9 +195,8 @@
def list_stdlib_modules():
"""List the modules present in the stdlib.
- >>> py3 = sys.version_info[0] >= 3
>>> mods = set(list_stdlib_modules())
- >>> 'BaseHTTPServer' in mods or py3
+ >>> 'http' in mods
True
os.path isn't really a module, so it's missing:
@@ -214,7 +213,7 @@
>>> 'collections' in mods
True
- >>> 'cStringIO' in mods or py3
+ >>> 'array' in mods
True
>>> 'cffi' in mods