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 042ddd3 commit 90b56bcCopy full SHA for 90b56bc
mypy/test/teststubtest.py
@@ -1022,7 +1022,7 @@ def attr(self) -> int: ...
1022
""",
1023
runtime="""
1024
from functools import cached_property
1025
- from typing import final
+ from typing_extensions import final
1026
class FinalBad:
1027
@cached_property
1028
@final
@@ -1579,10 +1579,10 @@ def test_not_subclassable(self) -> Iterator[Case]:
1579
@collect_cases
1580
def test_has_runtime_final_decorator(self) -> Iterator[Case]:
1581
yield Case(
1582
- stub="from typing import final",
+ stub="from typing_extensions import final",
1583
1584
import functools
1585
1586
1587
error=None,
1588
)
0 commit comments