Commit 034c795
committed
_dependee_fixture_argnames: return tuple
Note: black cannot parse `return *active_fixture_argnames,
*self.argnames` yet (fixed in master, psf/black#1121).
Tested manually using:
```python
@pytest.fixture(scope="session")
def xdist_suffix(request):
print("\nxdist_suffix")
suffixes.append("xdist")
@pytest.fixture(scope="session")
def parallel_suffix(tox_suffix, xdist_suffix):
pass
def test_suffix(parallel_suffix):
assert suffixes == ["tox", "xdist"]
```
When using a set there the order is not deterministic, i.e. the test is
flaky.1 parent 3544ba6 commit 034c795
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
966 | | - | |
| 966 | + | |
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
| |||
0 commit comments