@@ -16,48 +16,48 @@ m.x # E: "object" has no attribute "x"
1616from typing import Set
1717def f(x: Set[int]) -> None: pass
1818[out]
19- main:1: error: Module "typing" has no attribute "Set"
2019main:1: note: Maybe your test fixture does not define "builtins.set"?
2120main:1: note: Consider adding [builtins fixtures/set.pyi] to your test description
21+ main:1: error: Module "typing" has no attribute "Set"
2222
2323[case testBaseExceptionMissingFromStubs]
2424e: BaseException
2525[out]
26- main:1: error: Name "BaseException" is not defined
2726main:1: note: Maybe your test fixture does not define "builtins.BaseException"?
2827main:1: note: Consider adding [builtins fixtures/exception.pyi] to your test description
28+ main:1: error: Name "BaseException" is not defined
2929
3030[case testExceptionMissingFromStubs]
3131e: Exception
3232[out]
33- main:1: error: Name "Exception" is not defined
3433main:1: note: Maybe your test fixture does not define "builtins.Exception"?
3534main:1: note: Consider adding [builtins fixtures/exception.pyi] to your test description
35+ main:1: error: Name "Exception" is not defined
3636
3737[case testIsinstanceMissingFromStubs]
3838if isinstance(1, int):
3939 pass
4040[out]
41- main:1: error: Name "isinstance" is not defined
4241main:1: note: Maybe your test fixture does not define "builtins.isinstance"?
4342main:1: note: Consider adding [builtins fixtures/isinstancelist.pyi] to your test description
43+ main:1: error: Name "isinstance" is not defined
4444
4545[case testTupleMissingFromStubs1]
4646tuple()
4747[out]
48- main:1: error: Name "tuple" is not defined
4948main:1: note: Maybe your test fixture does not define "builtins.tuple"?
5049main:1: note: Consider adding [builtins fixtures/tuple.pyi] to your test description
50+ main:1: error: Name "tuple" is not defined
5151main:1: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Tuple")
5252
5353[case testTupleMissingFromStubs2]
5454tuple()
5555from typing import Tuple
5656x: Tuple[int, str]
5757[out]
58- main:1: error: Name "tuple" is not defined
5958main:1: note: Maybe your test fixture does not define "builtins.tuple"?
6059main:1: note: Consider adding [builtins fixtures/tuple.pyi] to your test description
60+ main:1: error: Name "tuple" is not defined
6161main:1: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Tuple")
6262main:3: error: Name "tuple" is not defined
6363
@@ -66,15 +66,15 @@ class A:
6666 @classmethod
6767 def f(cls): pass
6868[out]
69- main:2: error: Name "classmethod" is not defined
7069main:2: note: Maybe your test fixture does not define "builtins.classmethod"?
7170main:2: note: Consider adding [builtins fixtures/classmethod.pyi] to your test description
71+ main:2: error: Name "classmethod" is not defined
7272
7373[case testPropertyMissingFromStubs]
7474class A:
7575 @property
7676 def f(self): pass
7777[out]
78- main:2: error: Name "property" is not defined
7978main:2: note: Maybe your test fixture does not define "builtins.property"?
8079main:2: note: Consider adding [builtins fixtures/property.pyi] to your test description
80+ main:2: error: Name "property" is not defined
0 commit comments