Pre-PEP: Assert-with: Dedicated syntax for assertion messages

What would a multi-line assert statement look like with the with syntax?

as makes me think the assertion (exception?) gets bound to the RHS, like imports, exceptions and context managers

4 Likes