bug in python documentation?

2010-09-11 Thread Vito 'ZeD' De Tullio
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):

Re: bug in python documentation?

2010-09-11 Thread Benjamin Kaplan
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

Re: bug in python documentation?

2010-09-11 Thread Thomas Jollans
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)

Re: bug in python documentation?

2010-09-11 Thread Vito 'ZeD' De Tullio
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