pytest-deadfixtures
pytest-deadfixtures copied to clipboard
Issue 47
To solve the problem of duplicate fixture detection for Callable return types, we need to modify the same_result function within the same_fixture function. Specifically, we should use getattr for accessing the __dict__ attribute to ensure the comparison works correctly.