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
1 file changed