Skip to content

Commit 9847b5e

Browse files
committed
fixes
1 parent 26fd006 commit 9847b5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python_files/unittestadapter/pvsc_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_test_case(suite):
102102
yield from get_test_case(test)
103103

104104

105-
def get_class_line(test_case: unittest.TestCase) -> str | None:
105+
def get_class_line(test_case: unittest.TestCase) -> Optional[str]:
106106
"""Get the line number where a test class is defined."""
107107
try:
108108
test_class = test_case.__class__

python_files/vscode_pytest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
TypedDict,
2121
cast,
2222
)
23-
from typing_extensions import NotRequired
2423

2524
import pytest
25+
from typing_extensions import NotRequired
2626

2727
if TYPE_CHECKING:
2828
from pluggy import Result

0 commit comments

Comments
 (0)