[IronPython] False? with Unit Test
Davy Mitchell
daftspaniel at gmail.com
Sat Apr 5 15:06:38 CEST 2008
Hello List,
Found a little funny on the latest IPY.
import unittest
class ATest(unittest.TestCase):
def setUp(self):
self.pop = ""
def test_blog(self):
print "test"
if __name__ == '__main__':
unittest.main()
Runs fine but under IPY there's a extra line with 'False' output:
test
.
--------------------------------------------------------------
Ran one test in 0.096s
OK
False
Anyone had more experience with this module?
Davy
--
Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel http://needgod.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080405/b2d262e2/attachment.html>
More information about the Ironpython-users
mailing list