Skip to content

How to deal with "Direct construction of _pytest.python.Function has been deprecated, please use _pytest.python.Function.from_parent." #10951

Answered by nicoddemus
ebeffim asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Run with --fulltrace so we can get the full traceback, and pinpoint the code which is using the deprecated way of creating functions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ebeffim
Comment options

Answer selected by ebeffim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants