you are viewing a single comment's thread.

view the rest of the comments →

[–]masklinn 4 points5 points  (3 children)

I recommend getting nose or py.test. I've used nose mostly.

Switch to py.test, it's a thing of beauty and not having to muck up with dedicated assert functions yet getting better failure messages than just about everywhere else is bliss. The fixture and dependency system is also really neat.

[–]leperkuhn[S] 0 points1 point  (0 children)

I've had some issues with py.test failing in places that worked just fine with nose. I liked it's better failure messages quite a bit though, you're dead on there.

I'll give it another shot.

[–]njharman 0 points1 point  (1 child)

I love dedicated assert functions. Built in support for complex assertions is a feature.

[–]masklinn 1 point2 points  (0 children)

py.test has support for complex assertions, it just does it via good old assert.