Commit bab4dd0
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 1bcb0c0 commit bab4dd0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
| 965 | + | |
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
| |||
0 commit comments