question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PytestDeprecationWarning regarding DescribeBlock with pytest 5.4

See original GitHub issue

With 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
Citocommented, Apr 3, 2020

Ok, I just asked on the mailing list and hope we will hear back from someone in the pytest-dev org.

1reaction
jacebrowningcommented, Mar 31, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found