Removed noqa comment because a pytest decorator is now used in the test.