Which pytest feature lets you reuse setup code across tests in Python?
Correct answer
B. fixtures
B. fixtures
@pytest.fixture provides reusable setup and teardown.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is B? Ask here and get an explanation.