Fix a test issue

This commit is contained in:
Dave Halter committed 2026-10-13 09:30:21 +02:00
1 parent 5d3295e0f9
commit e7843ba82c
1 file changed
+2 -2
+2 -2
View File
@@ -142,8 +142,8 @@ def test_version_info():
def test_pyrepl():
try:
from _pyrepl import readline # zuban: ignore[import-not-found]
except ImportError: # This is typical before Python 3.13
pass
except ImportError:
return # This is typical before Python 3.13
utils.setup_readline(types.SimpleNamespace())
readline._setup({})