Disable autouse fixtures on specific pytest marks : <p>Is it possible to prevent the execution of "function scoped" fixtures with <code>autouse=True</code> on specific marks only?</p>

<p>I have the following fixture set to autouse so that all outgoing requests are automatically mocked out:</p>

<pre><code>@pytest.fixture(autouse=True)
def no_requests(monkeypatch):
    monkeypatch.setattr("requests.sessions.Session.request", MagicMock())
</code></pre>

<p>But I have a mark called <code>endtoend</code> that I use to define a series of tests that are allowed to make external requests for more robust end to end testing. I would like to inject <code>no_requests</code> in all tests (the vast majority), but not in tests like the following:</p>

<pre><code>@pytest.mark.endtoend
def test_api_returns_ok():
    assert make_request().status_code == 200
</code></pre>

<p>Is this possible?</p>
