title: “ indirect fixture” error using pytest. What is wrong?
body: <pre><code> def fatorial(n):
      if n &lt;= 1:
          return 1
      else:
          return n*fatorial(n - 1)
  
  
  import pytest
  
  @pytest.mark.parametrize("entrada","esperado",[
      (0,1),
      (1,1),
      (2,2),
      (3,6),
      (4,24),
      (5,120)
  ])
  
  def testa_fatorial(entrada,esperado):
      assert fatorial(entrada)  == esperado
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code> ERROR collecting Fatorial_pytest.py ____________________________________________________________________
  In testa_fatorial: indirect fixture '(0, 1)' doesn't exist
  </code></pre>
  
  <p>I dont know why I got "indirect fixture”. Any idea?
  I am using python 3.7 and windows 10 64 bits.</p>