Message245318
Not having addClassCleanup means that my setUpClass method will have four try/excepts in it, as will my tearDownClass (I have four fixtures I'm setting up for the tests).
So, no, it isn't strictly needed, but it is prettier :). As Robert says, though, it makes for a nice symmetry in the API. Basically, I like to see tearDown deprecated, as I find the setup/addcleanup pattern much easier to write and, more importantly, to read. |
|
Date |
User |
Action |
Args |
2015-06-13 14:57:16 | r.david.murray | set | recipients:
+ r.david.murray, barry, taleinat, rbcollins, ezio.melotti, michael.foord, serhiy.storchaka |
2015-06-13 14:57:16 | r.david.murray | set | messageid: <1434207436.02.0.942240060547.issue24412@psf.upfronthosting.co.za> |
2015-06-13 14:57:16 | r.david.murray | link | issue24412 messages |
2015-06-13 14:57:15 | r.david.murray | create | |
|