# HG changeset patch
# User Manuel Jacob <me@manueljacob.de>
# Date 1707000308 -3600
#      Sat Feb 03 23:45:08 2024 +0100
# Node ID 617af10994fb675e75e33da35c264fec6e27ed38
# Parent  cf1bee12ecdb44a818a07109ca5b3a33e98fcf57
py3: fully port doctest to py3

diff --git a/contrib/import-checker.py b/contrib/import-checker.py
--- a/contrib/import-checker.py
+++ b/contrib/import-checker.py
@@ -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