It's better to use nose.tools.assert_equal: it raises a better error message.