When I run flake8 I get the following error:
./test_sample.py:4:2: PT006 wrong name(s) type in @pytest.mark.parametrize, expected tuple
Here is my code
import pytest
@pytest.mark.parametrize('foo,bar', [(1, 1), (2, 2)])
def test_foo(foo, bar):
assert foo == bar
pip freeze | egrep flake8
:
flake8==3.8.4
flake8-plugin-utils==1.3.1
flake8-pytest-style==1.3.0
How do I fix the error?