Fix the compatibility docstring
This commit is contained in:
1 parent
9838040ca3
commit
782c561e86
12 files changed
+13
-33
No files matched your search
@@ -87,9 +87,6 @@ def test_tokenizer_with_string_literal_backslash(Script):
|
||||
|
||||
|
||||
def test_ellipsis_without_getitem(Script, environment):
|
||||
if environment.version_info.major == 2:
|
||||
pytest.skip('In 2.7 Ellipsis can only be used like x[...]')
|
||||
|
||||
def_, = Script('x=...;x').infer()
|
||||
|
||||
assert def_.name == 'ellipsis'
|
||||
Reference in new issue
Block a user