From: "Fredrik Johansson" <fredrik.johansson at gmail.com> > one could just write > > assert 1/0 raises ZeroDivisionError +1 This would be a nice extension to the assertion syntax. Raymond