5 lines
203 B
ReStructuredText
5 lines
203 B
ReStructuredText
|
Reducing confusion from `pytest.warns(None)` by:
|
||
|
|
||
|
- Allowing no arguments to be passed in order to catch any exception (no argument defaults to `Warning`).
|
||
|
- Emit a deprecation warning if passed `None`.
|