tardis-sn / carsus

Atomic Database for Astronomy
https://tardis-sn.github.io/carsus
21 stars 44 forks source link

Allow any pytest version #355

Closed andrewfullard closed 1 year ago

andrewfullard commented 1 year ago

:pencil: Description

Type: :beetle: bugfix | :vertical_traffic_light: testing

Removes reliance on deprecated pytest.config. Doesn't actually work properly though, certainly not for cmfgen tests for some reason.

:pushpin: Resources

https://docs.pytest.org/en/7.1.x/example/simple.html#request-example

:vertical_traffic_light: Testing

How did you test these changes?

:ballot_box_with_check: Checklist

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

andrewfullard commented 1 year ago

Looks like pytest-arraydiff isn't quite working as expected.

andrewfullard commented 1 year ago

@shreyas3156 can you investigate why the NNDC test in the notebook is failing? It seems to only be a very tiny difference.