From 96af7e40772ce3126b507111fcb860631b730c09 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 25 Dec 2021 13:37:35 +0100 Subject: [PATCH] The Python 3.6 requirement is now the lowest supported version --- test/completion/async_.py | 2 -- test/completion/fstring.py | 2 -- test/completion/pep0484_overload.py | 1 - test/completion/pep0526_variables.py | 5 +---- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/test/completion/async_.py b/test/completion/async_.py index 86c5d71a..1fb24e16 100644 --- a/test/completion/async_.py +++ b/test/completion/async_.py @@ -47,8 +47,6 @@ async def awaitable_test(): #? str() foo -# python >= 3.6 - async def asgen(): yield 1 await asyncio.sleep(0) diff --git a/test/completion/fstring.py b/test/completion/fstring.py index 32f29e9b..6e27dc2a 100644 --- a/test/completion/fstring.py +++ b/test/completion/fstring.py @@ -1,5 +1,3 @@ -# python >= 3.6 - class Foo: bar = 1 diff --git a/test/completion/pep0484_overload.py b/test/completion/pep0484_overload.py index 35d2ab65..16812136 100644 --- a/test/completion/pep0484_overload.py +++ b/test/completion/pep0484_overload.py @@ -1,4 +1,3 @@ -# python >= 3.6 from typing import List, Dict, overload, Tuple, TypeVar lst: list diff --git a/test/completion/pep0526_variables.py b/test/completion/pep0526_variables.py index 39168339..e50ebe57 100644 --- a/test/completion/pep0526_variables.py +++ b/test/completion/pep0526_variables.py @@ -1,9 +1,6 @@ """ -PEP 526 introduced a new way of using type annotations on variables. It was -introduced in Python 3.6. +PEP 526 introduced a way of using type annotations on variables. """ -# python >= 3.6 - import typing asdf = ''