1.6.0: pytest warnings
kloczek opened this issue · 2 comments
kloczek commented
+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/nodeenv-1.6.0, configfile: tox.ini
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, cases-3.4.6, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, flaky-3.7.0, mock-3.6.0, hypothesis-6.12.0
collected 14 items
tests/nodeenv_test.py ........ [ 57%]
tests/test_install_activate.py ...... [100%]
============================================================================= warnings summary =============================================================================
tests/nodeenv_test.py:50
/home/tkloczko/rpmbuild/BUILD/nodeenv-1.6.0/tests/nodeenv_test.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
def mock_index_json():
tests/nodeenv_test.py:58
/home/tkloczko/rpmbuild/BUILD/nodeenv-1.6.0/tests/nodeenv_test.py:58: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
def cap_logging_info():
-- Docs: https://docs.pytest.org/en/stable/warnings.html
===================================================================== 14 passed, 2 warnings in 11.83s ======================================================================```
kloczek commented
Sorry looks like I;ve c&p wrong output of the pytest.
Updated.