PytestDeprecationWarning regarding DescribeBlock with pytest 5.4
See original GitHub issueWith the latest pytest 5.4 I start getting the following warnings:
.tox/py36/lib/site-packages/pytest_describe/plugin.py:149: PytestDeprecationWarning:
direct construction of DescribeBlock has been deprecated,
please use DescribeBlock.from_parent return DescribeBlock(obj, collector)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:16 (12 by maintainers)
Top Results From Across the Web
Deprecations and Removals — pytest documentation
Instance , and importing it emits a deprecation warning. This will be removed in pytest 8. fspath argument for Node constructors replaced with...
Read more >pytest-describe - PyPI
pytest -describe is a plugin for pytest that allows tests to be written in arbitrary nested describe-blocks, similar to RSpec (Ruby) and Jasmine...
Read more >pytest Documentation - Read the Docs
pytest discovers all tests following its Conventions for Python test discovery, so it finds both test_ prefixed functions.
Read more >PytestDeprecationWarning at test setup: the funcargnames ...
PytestDeprecationWarning : The `funcargnames` attribute was an alias for `fixturenames`, since pytest 2.3 - use the newer attribute instead.
Read more >Changelog — pytest-django documentation
Drop support for pytest versions before 5.4 (#868). Previously pytest>=3.6 was supported. Improvements . Officially support Python 3.9. Add ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I just asked on the mailing list and hope we will hear back from someone in the pytest-dev org.
I’m not yet part of the pytest-dev organization, but I’m willing to help make releases if we can get it transferred there.