commit | 08090bf36ad25b6fd00fb0fa46368d98e7b3b317 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Mar 09 08:44:18 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Mar 09 08:44:18 2010 +0000 |
tree | c831aa2589f8659b86bfe6781f2f6672efb06089 | |
parent | f4803aa62312db223dd3c59f312b0dfeb8bdaa13 [diff] |
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