I have added some subtests to a test script (test_generators.py) which used to look like this when run by pytest:
tests/test_costs.py ... [ 31%]
tests/test_generators.py ......................... [ 48%]
tests/test_nem.py ... [ 51%]
tests/test_penalties.py ........... [ 58%]
Once pytest-subtests is installed, the output is messed up:
tests/test_costs.py ... [ 31%]
tests/test_generators.py ......... [ 37%]
................ [ 48%]
tests/test_nem.py ... [ 51%]
tests/test_penalties.py ........... [ 58%]
I have added some subtests to a test script (
test_generators.py) which used to look like this when run bypytest:Once
pytest-subtestsis installed, the output is messed up: