Don't try to pickle ellipsis

This commit is contained in:
Dave Halter committed 2017-12-11 20:55:34 +01:00
1 parent fa2712a128
commit b196c6849b
5 files changed
+10 -14

No files matched your search

+1 -5
View File
@@ -87,10 +87,6 @@ def test_tokenizer_with_string_literal_backslash():
def test_ellipsis():
def_, = jedi.Script(dedent("""\
class Foo():
def __getitem__(self, index):
return index
Foo()[...]""")).goto_definitions()
def_, = jedi.Script('x=...;x').goto_definitions()
assert def_.name == 'ellipsis'