Suggesting to...:
This will simplify the test suite (we can use assertRaisesRegex instead of the current capture stdout hacks). Proof-of-concept implementation: https://github.com/Argument-Clinic/cpython/pull/2
Suggesting to...:
failto raise a ClinicError, andwarnto usewarnings.warn(..., ClinicWarning)This will simplify the test suite (we can use
assertRaisesRegexinstead of the current capture stdout hacks). Proof-of-concept implementation: https://github.com/Argument-Clinic/cpython/pull/2