diff --git a/tests/typing/callable.py b/tests/typing/callable.py index e5bed609..1cc61778 100644 --- a/tests/typing/callable.py +++ b/tests/typing/callable.py @@ -34,7 +34,7 @@ kwargs4: Dict[str, Any] = provider4.kwargs # Test 5: to check the provided instance interface provider5 = providers.Callable(Animal) -provided5: Animal = provider5.provided +provided5: Animal = provider5.provided() # Test 6: to check the DelegatedCallable provider6 = providers.DelegatedCallable(Cat)