Ran Benita

Results 431 comments of Ran Benita

Yep it's unrelated, see https://github.com/pytest-dev/pytest/pull/11825#issuecomment-1894094641

For reference, here are the usages of `funcargs` I've found in my "plugin corpus" (I tried to remove irrelevant matches): Details ```py pytest-docker-tools/pytest_docker_tools/plugin.py 31: if "request" not in item.funcargs: 34:...

@sadra-barikbin Can you please rebase this on latest main?

@sadra-barikbin Can you please rebase this on latest main?

I know `pytest-rerunfailures` has some interactions with `SetupState` that might be causing such errors. I've meant to look into it but haven't got to it. If it's indeed enabled, can...

It seems all affected use pytest-forked. So it's probably that, not rerunfailures. - cherrypy/cheroot - uses `pytest.mark.forked` - @cnsnyder (do you use `@pytest.mark.forked` in particular?) - learning-at-home/hivemind - uses `@pytest.mark.forked`

Thanks for the great report @torcolvin, and @The-Compiler for the bisection. What happens here is: - Your `pytest_runtest_teardown` hook impl is registered last, and so runs first. - The hookimpl...

Some thoughts on the original issue (the excessive finalizer registrations). This is coming from @jakkdl's PR #11833 which cleaned up some related stuff. And no I don't expect anyone to...

I am working on porting a tokenizer-level linter flake8-commas to Ruff, and it relies on NL. I reckon NL should be emitted in an `else` case here: https://github.com/RustPython/RustPython/blob/main/compiler/parser/src/lexer.rs#L1073-L1083 CPython tokenize.py...

pytest-django uses Django's `assertNumQueries`, which doesn't support this, so you'd need to propose this to Django. As for my own opinion, I think this usecase is a bit too niche...