summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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")