Skip to content

Commit 60f0725

Browse files
committed
Excluded pytest 6.0.0 from test dependencies to fix not-callable issue
Details: * pytest 6.0.0 causes pylint to report many 'not-callable' issues for its pytest.mark.*() functions. Mitigated this by excluding pytest 6.0.0 from the test dependencies. Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
1 parent f994145 commit 60f0725

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test-requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
# pytest
1313
# pytest 5.0.0 has removed support for Python < 3.5
1414
# pytest 4.3.1 solves an issue on Python 3 with minimum package levels
15+
# pytest 6.0.0 causes pylint to report "not-callable" issues
1516
pytest>=4.3.1,<5.0.0; python_version < '3.5'
16-
pytest>=4.3.1; python_version >= '3.5' and python_version <= '3.6'
17-
pytest>=4.4.0; python_version >= '3.7'
17+
pytest>=4.3.1,!=6.0.0; python_version >= '3.5' and python_version <= '3.6'
18+
pytest>=4.4.0,!=6.0.0; python_version >= '3.7'
1819

1920

2021
# Install test direct dependencies:

0 commit comments

Comments
 (0)