mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 01:01:26 +08:00
Fix a test issue
This commit is contained in:
1 parent
5d3295e0f9
commit
e7843ba82c
1 file changed
+2
-2
+2
-2
@@ -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({})
|
||||
|
||||
Reference in new issue
Block a user