summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2023-04-23 23:53:59 +0200
committerGitHub <noreply@github.com>2023-04-23 23:53:59 +0200
commita91a8d60ccd5ca8e5f8e162d67b3b93444105235 (patch)
tree7087fd6ddbabfc81f99627f1122f8092bec977fc /tests
parente49bfaa2229e2ce27b7a212ad3ebe378dc17f613 (diff)
downloadastroid-git-a91a8d60ccd5ca8e5f8e162d67b3b93444105235.tar.gz
Drop support for Python 3.7 (#2137)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_scoped_nodes.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_scoped_nodes.py b/tests/test_scoped_nodes.py
index 0cfe411c..60fd68f7 100644
--- a/tests/test_scoped_nodes.py
+++ b/tests/test_scoped_nodes.py
@@ -1953,11 +1953,7 @@ class ClassNodeTest(ModuleLoader, unittest.TestCase):
import abc
import typing
import dataclasses
-
- if sys.version_info >= (3, 8):
- from typing import Protocol
- else:
- from typing_extensions import Protocol
+ from typing import Protocol
T = typing.TypeVar("T")