Skip to content

Commit fde8f9a

Browse files
oh, right, overrides is in typing_extensions
1 parent 9e20166 commit fde8f9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/check-flags.test

+2-2
Original file line numberDiff line numberDiff line change
@@ -2471,7 +2471,7 @@ def f():
24712471
[case testSpotCheckErrorCodeAll]
24722472
# flags: --enable-error-code all
24732473
# It would be annoying to check every error here, so let's just check a couple.
2474-
from typing import override
2474+
from typing_extensions import override
24752475

24762476
class Parent:
24772477
def f(self, x: int) -> None:
@@ -2493,7 +2493,7 @@ class Child(Parent):
24932493
# (For example, if all the errors expected by testSpotCheckErrorCodeAll get turned on by default, then
24942494
# the testSpotCheckErrorCodeAll test would fail to guarantee the enablement of any additional errors!)
24952495

2496-
from typing import override
2496+
from typing_extensions import override
24972497

24982498
class Parent:
24992499
def f(self, x: int) -> None:

0 commit comments

Comments
 (0)