astropy / astropy/pytest-arraydiff

Add support for parameterized tests

Aperta
#46 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
27
Fork
21
Merge medio
6h 39m
PR unite (30g)
1

Descrizione

It would be great to be able to be able to use `pytest-arraydiff` in conjunction with parametrized tests. If it were possible to layer the decorators, that would be optimal

```python
@pytest.mark.array_compare
@pytest.mark.parametrize(...)
def test(...):
return ...
```

Alternatively if ``array_compare`` supported the parametrization that would be good as well.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.