Description: Add support for old unittest2 version (0.5.1)
 Upstream relies on more recent version of unittest2 that has support for the
 'assertRaisesRegex' method. Fortunately this method is a simple alias of
 'assertRaisesRegexp' (with extra 'p' at the end). Since the future of
 unittest2 in Debian is uncertain this intermediate trivial patch can be used
 to have working and tested version of Padme
Author: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

Origin: upstream
Forwarded: not-needed
Last-Update: 2015-03-09

--- python-padme-1.1.1.orig/padme/tests.py
+++ python-padme-1.1.1/padme/tests.py
@@ -858,7 +858,7 @@ class proxy_as_function(unittest.TestCas
     def test_context_manager_methods_v2(self):
         """ Verify that redirecting __exit__ passes right arguments. """
         exc = Exception("boom")
-        with self.assertRaisesRegex(Exception, "boom"):
+        with self.assertRaisesRegexp(Exception, "boom"):
             with self.proxy:
                 try:
                     raise exc
