Closed ajoaoff closed 2 years ago
Tox is using pytest to run the tests, and it does not create subtests with unittest.subTest, executing all as one test. This PR uses pytest.mark.parametrize to produce subtests that work with pytest.
pytest
unittest.subTest
pytest.mark.parametrize
Tox is using
pytest
to run the tests, and it does not create subtests withunittest.subTest
, executing all as one test. This PR usespytest.mark.parametrize
to produce subtests that work withpytest
.