Ran Benita
Ran Benita
Minimized example: ```py @pytest.mark.parametrize('proto', ['a', 'b'], scope='class') @pytest.mark.parametrize('unit', [1, 2], scope='class') class Test: def test(self, proto, unit): pass ``` The items are reordered by `reorder_items()` in fixture.py (surely the most...
Technical details of the change: Before 09b78737a5bde23eb488d5d6649bf966c5809176, Metafunc will generate CallSpec's with separate `params` (indirect parametrizations, i.e. through fixtures) and `funcargs` (direct parametrizations), and the desugaring of direct to indirect...
@ShurikMen I wonder, is the example you gave realistic or do you use `indirect` params maybe? I'm mainly curious why you're setting `scope='class'` on your `parametrize`s when the parameters are...
I haven't reviewed the changes yet, but regarding > Now imporlib mode will first try to import the module normally, without changing sys.path, and if that fails it falls back...
How does the `driver` fixture look like?
Each call to `samefile` adds 2 `stat`s, and stats are generally reputed to cause slowness. I wonder then, is it possible in Python to "expand" a short path to a...
@nicoddemus I'll try to make an informed review, but if I take too long (like before 8.0.2) then please don't wait for me, I don't mean to block this.
This has been reported a few times already. The previous cases were legitimately bad ideas, running tests from `/tmp`. But since it seems like a common issue, we probably should...
I do recommend cd'ing into some empty directory your user owns, or at least `/var/empty` if you need something ready made.
Thanks for the report. > I don't have a MWE as I don't have a windows machine, but I'm reasonably confident that something in pytest 8 broke short path recognition...