Ran Benita

Results 431 comments of Ran Benita

(First, consider editing the original post to point to the reproduction; the `ImportPathMismatchError` error stated there *cannot* happen in `--import-mode=importlib` so it's quite confusing). Thanks for creating a reproduction. I...

I haven't looked at your failures but IIRC you are using namespace packages, did you set the new `consider_namespace_packages = true` ini setting?

Experiment with a "fixture registration" API: https://github.com/bluetech/pytest/commits/register-fixture/ Currently it's a private `_register_fixture` method on `FixtureManager`, so doubly private. I do not mean for the public API to be this, but...

> Reviewed the code, and the register_fixture function is a great idea @bluetech! Great, I'll submit it then. While we still need to work out a public API, this provides...

It looks like the conftest is not getting loaded since the `data_path` also doesn't show up in the "available fixtures". This is probably related to annoying Windows path stuff. I...

@larsoner We've fixed some windows regressions, could you try again with latest main? I suspect it won't fix the issue but maybe it will.

OK, so keeping this on the radar, thanks for checking.

Very similar to #11759. Would the alternative described there of using an autouse fixture instead of the hook work for pandas?

@jbkkd Your use case makes sense, but I'm not clear why you need a file for this instead of passing the arguments on the command line as usual. That is,...

I think using `fromfile_prefix_chars='@'` would be nice, PR welcome.