title: Create decorator compatible with pytest.mark.parametrize
body: <p>I want to create a decorator for my test written with pytest. My problem, when calling decorator, pytest raises an exception that decorator hasn't got parameters "test_params". </p>
  
  <p>Decorator example:</p>
  
  <pre><code>def decorator_example(fn):
  
      def create(*args, **kwargs):
          # any code here
          return fn(*args, **kwargs)
  
  return create
  </code></pre>
  
  <p>Test example:</p>
  
  <pre><code>@pytest.mark.parametrize(
      "test_params",
      [
          pytest.param("own_parameters")
      ])
  @decorator_example
  def test_1(self, fixture1, fixture2, test_params):
      pass
  </code></pre>
  
  <p>And caught exception:</p>
  
  <pre><code>ValueError: &lt;function create at address&gt; uses no argument 'test_params'
  </code></pre>
  
  <p>How can I create a decorator which will be compatible with pytest's parametrized test?</p>