title: ValueError uses no argument in pytest, does order of decorators matter?
body: <p>I ran into a very cryptic error in pytest, after adding a '@pytest.mark.parametrize' decorator the test started throwing the following error:</p>
  
  <pre><code>ValueError: &lt;function ... at ...&gt; uses no argument 'parameters'
  </code></pre>
  
  <p>I found the source of the error <a href="https://github.com/pytest-dev/pytest/blob/ef1b91ba8721e85430eead4c2849d8e072fe8350/src/_pytest/python.py#L893" rel="noreferrer">here</a></p>
  
  <p>Here's what the signature of my function looks like (simplified):</p>
  
  <pre><code>@patch('dog')
  @pytest.mark.parametrize('foo,bar', test_data)
  def test_update_activity_details_trainer_and_gear(self, foo, bar, dog):
  </code></pre>