Skip to content

Pytest Version compatibility #23

@EPrade

Description

@EPrade

At the moment pytest version is fixed: "pytest==8.3.3".
Because the 8.3.4 Version brought changes with it that creates error in the tests. https://github.com/pytest-dev/pytest/releases/tag/8.3.4

Now it is more strict with the type when using .approx()

`values == pytest.approx([None, 730, 9.38, 138200, 15, 35, 65, 40, 1, False, 99, 0, True], nan_ok=True)
Out[25]: False

values == pytest.approx([None, np.float64(730), np.float64(9.38), np.float64(138200), np.float64(15), np.float64(35), np.float64(65), np.float64(40), np.int64(1), np.bool_(False), np.float64(99), np.float64(0), np.bool_(True)], nan_ok=True)
Out[24]: True`

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions