UPDATE table SET credit = credit + 7 WHERE id = 1
Исправлено с помощью флага --capture=no
(или -s
) из pytest
:
pytest -v --capture=no tests/
Подробнее см. https://github.com/timofurrer /colorful/issues/23#issuecomment-468008070.