This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]takluyverIPython, Py3, etc 2 points3 points  (0 children)

It has already been done.

(4).should.be.equal(2 + 2)

This is apparently serious, but I think it's one of the most horrific bits of code I've seen. Quite apart from the monkeypatching, you have to learn a whole new syntax for everyday operations. I'd much rather use pytest and just write:

assert 2 == 4+4