test_ok2/changelog/7394.bugfix.rst

3 lines
183 B
ReStructuredText

Passing an empty ``help`` value to ``Parser.add_option`` is now accepted instead of crashing when running ``pytest --help``.
Passing ``None`` raises a more informative ``TypeError``.