[docs] [issue11468] Improve unittest basic example in the doc
Serhiy Storchaka
report at bugs.python.org
Mon Dec 24 10:00:09 CET 2012
Serhiy Storchaka added the comment:
I think `self.assertRaises(TypeError, s.split, 2)` looks simpler. In any case two examples for assertRaises needed, simple inlined and more complicated use as context manager.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11468>
_______________________________________
More information about the docs
mailing list