idea for testing tools

Jens Theisen jth02 at arcor.de
Thu Feb 8 04:17:07 EST 2007


Bruno Desthuilliers <bdesth.quelquechose at free.quelquepart.fr> writes:

> http://codespeak.net/py/current/doc/test.html#assert-with-the-assert-statement

Ok, I didn't come across this before.

I didn't work for me though, even the simple case

  #!/usr/bin/python

  a = 1
  b = 2

  def test_some():
      assert a == b

didn't reveal the values for a and b, though some more complex cases
showed something.

-- 
Cheers, Jens



More information about the Python-list mailing list