Skip to content

Commit e0b1e5f

Browse files
committed
fix tests
1 parent ab1ef2d commit e0b1e5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/test/teststubgen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,15 +799,15 @@ def test_infer_binary_op_sig(self) -> None:
799799
):
800800
assert_equal(infer_method_args(f"__{op}__"), [self_arg, ArgSig(name="other")])
801801

802-
def test_infer_equality_op_sig(self):
802+
def test_infer_equality_op_sig(self) -> None:
803803
for op in ("eq", "ne", "lt", "le", "gt", "ge", "contains"):
804804
assert_equal(infer_method_ret_type(f"__{op}__"), "bool")
805805

806806
def test_infer_unary_op_sig(self) -> None:
807807
for op in ("neg", "pos"):
808808
assert_equal(infer_method_args(f"__{op}__"), [self_arg])
809809

810-
def test_infer_cast_sig(self):
810+
def test_infer_cast_sig(self) -> None:
811811
for op in ("float", "bool", "bytes", "int"):
812812
assert_equal(infer_method_ret_type(f"__{op}__"), op)
813813

0 commit comments

Comments
 (0)