mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-06 20:24:00 +08:00
Fix 3.10 tests in one more case
This commit is contained in:
+5
-1
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from typing import Any
|
||||
|
||||
try:
|
||||
@@ -36,7 +37,10 @@ class TestSetupReadline(unittest.TestCase):
|
||||
assert self.complete('list') == ['list']
|
||||
assert self.complete('importerror') == ['ImportError']
|
||||
s = "print(BaseE"
|
||||
assert self.complete(s) == [s + 'xception', s + 'xceptionGroup']
|
||||
if sys.version_info >= (3, 11):
|
||||
assert self.complete(s) == [s + 'xception', s + 'xceptionGroup']
|
||||
else:
|
||||
assert self.complete(s) == [s + 'xception']
|
||||
|
||||
def test_nested(self):
|
||||
assert self.complete('list.Insert') == ['list.insert']
|
||||
|
||||
Reference in New Issue
Block a user