def deactivate_fixture(self, item):
fixture = getattr(item, "<STR_LIT>", None)<EOL>if fixture is not None:<EOL><INDENT>fixture.close()<EOL><DEDENT>
Deactivates the ``capsys`` or ``capfd`` fixture of this item, if any.