Closed
Description
Steps to reproduce
Use pytest.mark.parametrize
, e.g.
"""
Example pytest mark.
"""
import pytest
@pytest.mark.parametrize('sample', [0])
def test_example(sample):
"""
Example test.
"""
assert sample == 0
Install pytest==6.0.0
.
Run pylint
.
Current behavior
- The test passes when running
pytest
.
I see the error:
test_example.py:7:1: E1102: pytest.mark.parametrize is not callable (not-callable)
This error is not shown with pytest==5.4.3
.
Expected behavior
No error is shown.
pylint --version output
pylint 2.5.3
astroid 2.4.2
Python 3.8.5 (default, Jul 21 2020, 10:48:26)
[Clang 11.0.3 (clang-1103.0.32.62)]