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

Fix deprecation warnings from pytest #22

Closed
sobolevn opened this issue Apr 20, 2020 · 0 comments · Fixed by #25
Closed

Fix deprecation warnings from pytest #22

sobolevn opened this issue Apr 20, 2020 · 0 comments · Fixed by #25
Labels
enhancement New feature or request

Comments

@sobolevn
Copy link
Member

.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:108
  /Users/sobolev/Documents/github/returns/.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:108: PytestDeprecationWarning: direct construction of YamlTestFile has been deprecated, please use YamlTestFile.from_parent
    return YamlTestFile(path, parent=parent, config=parent.config)

.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:89
.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:89
.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:89
.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:89
.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:89
  /Users/sobolev/Documents/github/returns/.venv/lib/python3.8/site-packages/pytest_mypy_plugins/collect.py:89: PytestDeprecationWarning: direct construction of YamlTestItem has been deprecated, please use YamlTestItem.from_parent
    yield YamlTestItem(

-- Docs: https://docs.pytest.org/en/latest/warnings.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant