Skip to content

Commit 2bc7c75

Browse files
committed
yippee
1 parent dbc2043 commit 2bc7c75

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

mypy/checkexpr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4096,7 +4096,6 @@ def lookup_definer(typ: Instance, attr_name: str) -> str | None:
40964096
results = []
40974097
for name, method, obj, arg in variants:
40984098
with self.msg.filter_errors(save_filtered_errors=True) as local_errors:
4099-
print(name)
41004099
result = self.check_method_call(name, obj, method, [arg], [ARG_POS], context)
41014100
if local_errors.has_new_errors():
41024101
errors.append(local_errors.filtered_errors())

test-data/unit/check-custom-plugin.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,3 +1125,4 @@ reveal_type(c) # N: Revealed type is "Literal[7]"
11251125
[file mypy.ini]
11261126
\[mypy]
11271127
plugins=<ROOT>/test-data/unit/plugins/magic_method.py
1128+
[builtins fixtures/ops.pyi]

test-data/unit/plugins/magic_method.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from mypy.types import LiteralType, AnyType, TypeOfAny
22
from mypy.plugin import Plugin
33

4+
# If radd exists, there shouldn't be an error. If it doesn't exist, then there will be an error
45
def type_add(ctx, *args):
56
lhs = ctx.type
67
rhs = ctx.arg_types[0][0]

0 commit comments

Comments
 (0)