Skip to content

Commit d752499

Browse files
committed
Remove In class foo
1 parent 95d1c58 commit d752499

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test-data/unit/check-functions.test

-7
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ class B(A):
3333
class C(A):
3434
def f(self, *, b: int, a: str) -> None: pass # E: Signature of "f" incompatible with supertype "A"
3535

36-
[out]
37-
main: note: In class "C":
38-
3936
[case testPositionalOverridingArgumentNameInsensitivity]
4037
import typing
4138

@@ -48,8 +45,6 @@ class B(A):
4845
class C(A):
4946
def f(self, foo: int, bar: str) -> None: pass
5047

51-
[out]
52-
main: note: In class "B":
5348

5449
[case testPositionalOverridingArgumentNamesCheckedWhenMismatchingPos]
5550
import typing
@@ -60,8 +55,6 @@ class A(object):
6055
class B(A):
6156
def f(self, b: int, a: str) -> None: pass # E: Signature of "f" incompatible with supertype "A"
6257

63-
[out]
64-
main: note: In class "B":
6558

6659
[case testSubtypingFunctionTypes]
6760
from typing import Callable

0 commit comments

Comments
 (0)