Skip to content

Commit 90b56bc

Browse files
committed
Revert typing_extensions.final changes
1 parent 042ddd3 commit 90b56bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypy/test/teststubtest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ def attr(self) -> int: ...
10221022
""",
10231023
runtime="""
10241024
from functools import cached_property
1025-
from typing import final
1025+
from typing_extensions import final
10261026
class FinalBad:
10271027
@cached_property
10281028
@final
@@ -1579,10 +1579,10 @@ def test_not_subclassable(self) -> Iterator[Case]:
15791579
@collect_cases
15801580
def test_has_runtime_final_decorator(self) -> Iterator[Case]:
15811581
yield Case(
1582-
stub="from typing import final",
1582+
stub="from typing_extensions import final",
15831583
runtime="""
15841584
import functools
1585-
from typing import final
1585+
from typing_extensions import final
15861586
""",
15871587
error=None,
15881588
)

0 commit comments

Comments
 (0)