antonagestam / immoney

A better standard for representing money in Python.
BSD 3-Clause "New" or "Revised" License
18 stars 0 forks source link

Write type tests with pytest-mypy-plugins #2

Open antonagestam opened 2 years ago

antonagestam commented 9 months ago

This might be useful for a few cases, but should probably be done mostly with assert_type in existing tests.

antonagestam commented 8 months ago

One useful case for this will be to make sure that the format_monetary function raises type errors for incorrect parameters.