commit | d7940481fef920d169f8da0e69b6c0168f43aa52 | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Fri Nov 06 03:07:19 2009 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Fri Nov 06 03:07:19 2009 +0000 |
tree | 8e10b9a71da9fc9386ac08c019b5c249cc039032 | |
parent | 3c0ea96b0dbd2115fa2057c21635173eaf461f31 [diff] |
Fixed the "with" workaround code of the unittest backport module (otherwise couldn't use self.assertRaises and self.assertRaisesRegexp). This patch has also been suggested to the upstream as a fix for the issues with those methods (http://code.google.com/p/python-unittest-backport/issues/detail?id=1). Signed-off-by: Mihai Rusu <dizzy@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3908 592f7852-d20e-0410-864c-8624ca9c26a4