from http://docs.python.org/library/unittest.html
--888888888888--
Here is a short script to test three functions from the random module:
import random
import unittest
class TestSequenceFunctions(unittest.TestCase):
def setUp(self):
On Sat, Sep 11, 2010 at 11:34 AM, Vito 'ZeD' De Tullio
zak.mc.kra...@libero.it wrote:
from http://docs.python.org/library/unittest.html
--888888888888--
Here is a short script to test three functions from the random module:
import random
import
On Saturday 11 September 2010, it occurred to Vito 'ZeD' De Tullio to exclaim:
from http://docs.python.org/library/unittest.html
$ python test_unittest.py
.E.
==
ERROR: test_sample (__main__.TestSequenceFunctions)
Benjamin Kaplan wrote:
You're looking at the 2.7 documentation. Are you using 2.7?
whoops, no: 2.6.5 :\
(but the new in python X.Y.Z disclaimer does not apply to the example
snippets?)
--
By ZeD
--
http://mail.python.org/mailman/listinfo/python-list