title: Is it possible to @mark.parametrize twice one test?
body: <p>I have multiple functions which <code>raise ValueError</code> to test. So far my solution is:</p>
  
  <pre><code>import pytest
  import record
  
  @pytest.fixture(name='raised')
  def is_value_error_raised(func, args):
      try:
          func(*args)
          return True
      except ValueError:
          return False
  
  
  @pytest.mark.parametrize(('func', 'args', 'expected'),
                           ((record.check_length, ('Test', 1, 100), True),
                            (record.check_length, ('', 1, 100), False),
                            ))
  def test_length_check(raised, expected):
      assert raised == expected
  
  
  @pytest.mark.parametrize(('func', 'args', 'expected'),
                           ((record.check_lang_code, ['EN'], True),
                            (record.check_lang_code, ['Test'], False),
                            ))
  def test_lang_check(raised, expected):
      assert raised == expected
  </code></pre>
  
  <p>but in this approach I am repeating function name in each test case. I try to get rid of it. I was wondering if is it possible to make something similar to:</p>
  
  <pre><code>@pytest.mark.parametrize(('func', record.check_lang_code))
  @pytest.mark.parametrize(('args', 'expected'),
                           ((['EN'], True),
                            (['Test'], False),
                            ))
  def test_lang_check(raised, expected):
      assert raised == expected
  </code></pre>
  
  <p>This produces <code>ValueError</code>. Is there a way to use two parametrize markers working with each other? If not how can I correct this code?</p>