Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6.0: pytest warnings #285

Open
kloczek opened this issue May 6, 2021 · 2 comments
Open

1.6.0: pytest warnings #285

kloczek opened this issue May 6, 2021 · 2 comments

Comments

@kloczek
Copy link

kloczek commented May 6, 2021

+ /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 ======================================================================```
@ekalinin
Copy link
Owner

ekalinin commented May 6, 2021

Hey @kloczek

Could you elaborate on this? What is the point of this issue?

@kloczek
Copy link
Author

kloczek commented May 6, 2021

Sorry looks like I;ve c&p wrong output of the pytest.
Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants