]> granicus.if.org Git - python/commit
Improve the basic example.
authorRaymond Hettinger <python@rcn.com>
Tue, 9 Mar 2010 08:44:18 +0000 (08:44 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 9 Mar 2010 08:44:18 +0000 (08:44 +0000)
commit08090bf36ad25b6fd00fb0fa46368d98e7b3b317
treec831aa2589f8659b86bfe6781f2f6672efb06089
parentf4803aa62312db223dd3c59f312b0dfeb8bdaa13
Improve the basic example.
* Show both the decorator and regular form for assertRaises()
* Use assertTrue() instead of assertIn() to teach useful minimal subset of the API
Doc/library/unittest.rst