From 5ee703c9b6a0f276843690df7287c6aa80d083ef Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 15 Sep 2022 08:05:16 -0300 Subject: [PATCH] Fix two test failures --- testing/test_nose.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_nose.py b/testing/test_nose.py index fe5b92d7f..99eba03b6 100644 --- a/testing/test_nose.py +++ b/testing/test_nose.py @@ -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: