test_ok2/changelog/8646.improvement.rst

3 lines
152 B
ReStructuredText
Raw Normal View History

2022-05-01 07:56:36 +08:00
Improve :py:func:`pytest.raises`. Previously passing an empty tuple would give a confusing
error. We now raise immediately with a more helpful message.