Skip to content

Commit

Permalink
Freeze pytest version
Browse files Browse the repository at this point in the history
Newer versions of pytest cause issues for flexmock, causing failures in
tests CI such as:

tests/utils/test_yaml.py:11: in <module>
    from flexmock import flexmock
/usr/lib/python3.10/site-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations  # pylint: disable=unused-import
/usr/lib/python3.10/site-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
E   AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'

Signed-off-by: mkosiarc <[email protected]>
  • Loading branch information
mkosiarc committed Aug 6, 2024
1 parent d0e1e39 commit fb21376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
flexmock>=0.11.0
urllib3<1.26
pytest>=4.1.0
pytest==7.0.1
pytest-cov
pytest-html
flake8
Expand Down

0 comments on commit fb21376

Please sign in to comment.