Fix two test failures

This commit is contained in:
Bruno Oliveira 2022-09-15 08:05:16 -03:00
parent 564b5b0e02
commit 5ee703c9b6
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ def test_setup_func_with_setup_decorator() -> None:
def f(self):
values.append(1)
call_optional(A(), "f")
call_optional(A(), "f", "A.f")
assert not values
@ -47,7 +47,7 @@ def test_setup_func_not_callable() -> None:
class A:
f = 1
call_optional(A(), "f")
call_optional(A(), "f", "A.f")
def test_nose_setup_func(pytester: Pytester) -> None: