idea for testing tools

Eduardo "EdCrypt" O. Padoan eopadoan at altavix.com
Thu Feb 8 10:50:52 EST 2007


>   #!/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.

def test_some():
    print 'a:', a, 'b:', b
    assert a == b

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

-- 
EduardoOPadoan (eopadoan->altavix::com)
Bookmarks: http://del.icio.us/edcrypt
Blog: http://edcrypt.blogspot.com
Jabber: edcrypt at jabber dot org
ICQ: 161480283
GTalk: eduardo dot padoan at gmail dot com
MSN: eopadoan at altavix dot com



More information about the Python-list mailing list