title: Disable pytest fixtures
body: <p>Is it possible to disable fixtures in pytest?</p>
  
  <p>The reason I want to do that is that I'm using my own fixtures framework, currently like this (the pros and cons of different fixtures mechanisms isn't the focus of this question):</p>
  
  <pre><code>import functools
  
  def with_fixtures(test_func):
      @functools.wraps(test_func)
      def wrapper(self, *args, **kwargs):
          # This simplified code reproduces the problem -- the real implementation passes
          # an object instead of a dummy
          return test_func(self, "dummy fixtures", *args, **kwargs)
      return wrapper
  
  class Test:
      @with_fixtures
      def test(self, fixtures):
          print("fixtures %s" % (fixtures, ))
          pass
  </code></pre>
  
  <p>If I run that test with another framework, my <code>with_fixtures</code> decorator passes a fixtures object to the test.  If I run pytest on that, I get this:</p>
  
  <pre><code>def test(self, fixtures):
  E       fixture 'fixtures' not found
  </code></pre>
  
  <p>In order to disable pytest fixtures, I'd rather locally mark individual tests with a decorator than add code to a special file like <code>conftest.py</code> on which my tests have no explicit dependency, so that's it's easier to see locally why the test behaves as it does.</p>