astropy / astropy/pytest-arraydiff

Add support for parameterized tests

Offen
#46 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
27
Forks
21
Ø Merge
6 Std. 39 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.