mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-24 02:07:05 +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():
|
def test_pyrepl():
|
||||||
try:
|
try:
|
||||||
from _pyrepl import readline # zuban: ignore[import-not-found]
|
from _pyrepl import readline # zuban: ignore[import-not-found]
|
||||||
except ImportError: # This is typical before Python 3.13
|
except ImportError:
|
||||||
pass
|
return # This is typical before Python 3.13
|
||||||
|
|
||||||
utils.setup_readline(types.SimpleNamespace())
|
utils.setup_readline(types.SimpleNamespace())
|
||||||
readline._setup({})
|
readline._setup({})
|
||||||
|
|||||||
Reference in new issue
Block a user