-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
any hints on errors during collecting the tests? #25197
Comments
Oh, that would be a bummer... We have only 3.10.1 in Debian unstable |
Heh, it seems that the boost to require 4.x was just to assist conda in solving dependencies |
with upgrade of pytest via pip situation improves 50% -- one error is gone but not the other:
|
cc @simonjayhawkins : any ideas on what could be causing this? |
will take a look a bit later, but just off the top of my head for now: the tests in last time i looked this was the only use of that hook in the codebase, so that does not rule out the possibility that it could be a pytest issue. the hook applies indirect parametrisation to any test in that module with a name ending in |
uff -- pytest magic in all the fixtures setup/handling. As much I like assert statements introspection, as much I dislike the magics of pytest - tests quickly become not straight Python. Thanks in advance @simonjayhawkins ! If really needed, can provide a full recipe to reproduce using e.g. Dockerfile recipe |
@yarikoptic just had a quick look to refresh memory. seems weird that at the time i added the pytest_generate_tests, i was not totally happy using the test name to determine the parametrisation, but was trying to faithfully replicate the existing class based test. as a parallel activity i'll have a rethink of this strategy anyway. |
merged #25262, see if this helps you (note I merged to 0.25, but trivial to backport if it helps) |
While updating debian package for pandas 0.24.1 running into this odd error with pytest during collection. Just wondered if someone might have an immediate clue so I don't waste too much time trying to catch the ghost (pytest pkg is 3.10.1-2):
All of it with versions etc (click to expand)
The text was updated successfully, but these errors were encountered: