We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26fd006 commit 9847b5eCopy full SHA for 9847b5e
python_files/unittestadapter/pvsc_utils.py
@@ -102,7 +102,7 @@ def get_test_case(suite):
102
yield from get_test_case(test)
103
104
105
-def get_class_line(test_case: unittest.TestCase) -> str | None:
+def get_class_line(test_case: unittest.TestCase) -> Optional[str]:
106
"""Get the line number where a test class is defined."""
107
try:
108
test_class = test_case.__class__
python_files/vscode_pytest/__init__.py
@@ -20,9 +20,9 @@
20
TypedDict,
21
cast,
22
)
23
-from typing_extensions import NotRequired
24
25
import pytest
+from typing_extensions import NotRequired
26
27
if TYPE_CHECKING:
28
from pluggy import Result
0 commit comments