@pytest.fixture
def no_cachedir_tag(monkeypatch):
 monkeypatch.setattr('qutebrowser.utils.standarddir._init_cachedir_tag', (lambda : None))

@ pytest . fixture def no_cachedir_tag ( monkeypatch ) : monkeypatch . setattr ( 'qutebrowser.utils.standarddir._init_cachedir_tag' , ( lambda : None ) )
fixture to prevent writing a cachedir .