[py-dev] Strange failure with py.test - too much magic?

Ian Bicking ianb at colorstudy.com
Fri Jan 28 19:14:09 CET 2005


Paul Moore wrote:
> I thought I'd give py.test a try. So I grabbed the code from the
> Subversion repository and wrote a little test file, which just did an
> assert 1=0. I don't expect the test to succeed :-)

This is invalid syntax, you meant:

   assert 1 == 0

Though it's not the best error message that you got.

-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org



More information about the Pytest-dev mailing list