File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2481,14 +2481,13 @@ class Parent:
24812481 return True
24822482
24832483class Child(Parent):
2484- def f(self, x: int) -> None: # E: Missing @override decorator
2484+ def f(self, x: int) -> None: # E: Method "f" is not using @override but is overriding a method in class "__main__.Parent"
24852485 pass
24862486
24872487 @override
24882488 def g(self, y: int) -> bool: #type: ignore # E: Unused "type: ignore" comment # E: "type: ignore" comment without error code
24892489 return True
2490- [builtins fixtures/primitives.pyi]
2491- [typing fixtures/typing-full.pyi]
2490+ [builtins fixtures/tuple-simple.pyi]
24922491
24932492[case testSpotCheckErrorCodeAllNotUsed]
24942493# This test case exists purely to ensure that the testSpotCheckErrorCodeAll test does not become obsolete.
@@ -2511,5 +2510,4 @@ class Child(Parent):
25112510 @override
25122511 def g(self, y: int) -> bool: #type: ignore
25132512 return True
2514- [builtins fixtures/primitives.pyi]
2515- [typing fixtures/typing-full.pyi]
2513+ [builtins fixtures/tuple-simple.pyi]
You can’t perform that action at this time.
0 commit comments