colour-science / colour

Colour Science for Python
https://www.colour-science.org
BSD 3-Clause "New" or "Revised" License
2.1k stars 260 forks source link

PR: Drop `unittest` usage in favour of `pytest`. #1266

Closed KelSolaar closed 4 months ago

KelSolaar commented 4 months ago

Summary

This PR is a first initial pass at dropping unittest in favour of pytest with the intent of using parameterised tests with #1244.

I used a mix of pytestify and unittest2pytest to do most of the conversion and finished manually.

Preflight

Code Style and Quality

Documentation

coveralls commented 4 months ago

Coverage Status

coverage: 99.815% (-0.01%) from 99.829% when pulling eff1ef26399e09287c3e57c28377a33be31bb236 on feature/pytest into 7ecfb43d2994e0c78d4f4f2c1f94428c856c6473 on develop.