Skip to content

Commit dbc2043

Browse files
committed
why wont it workkkkkkk
1 parent 9c05b13 commit dbc2043

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4096,6 +4096,7 @@ 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)
40994100
result = self.check_method_call(name, obj, method, [arg], [ARG_POS], context)
41004101
if local_errors.has_new_errors():
41014102
errors.append(local_errors.filtered_errors())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,4 +1124,4 @@ reveal_type(c) # N: Revealed type is "Literal[7]"
11241124

11251125
[file mypy.ini]
11261126
\[mypy]
1127-
plugins=<ROOT>/test-data/unit/plugins/magic_method.py
1127+
plugins=<ROOT>/test-data/unit/plugins/magic_method.py

test-data/unit/plugins/magic_method.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def type_radd(ctx, *args):
1818
class TestPlugin(Plugin):
1919

2020
def get_method_hook(self, fullname):
21-
print(fullname)
2221
if fullname == 'builtins.int.__add__':
2322
return type_add
2423
if fullname == 'builtins.int.__radd__':

0 commit comments

Comments
 (0)