aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-10 16:05:29 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-11 15:30:40 +0100
commitd6b81fa7c7ba1197162306add42db172464e7d4e (patch)
tree3d1ed8fc80fc89a569d531c2b0d18e76c3866dbe
parentaa554eb613609bd8b9ef7e3de8d709a9def1883a (diff)
downloadpaludis-d6b81fa7c7ba1197162306add42db172464e7d4e.tar.gz
paludis-d6b81fa7c7ba1197162306add42db172464e7d4e.tar.xz
python 2.6 is picky
-rwxr-xr-xpython/package_id_TEST.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/package_id_TEST.py b/python/package_id_TEST.py
index 231094d..7170536 100755
--- a/python/package_id_TEST.py
+++ b/python/package_id_TEST.py
@@ -85,8 +85,8 @@ class TestCase_01_PackageID(unittest.TestCase):
def test_10_perform_action(self):
self.pid.perform_action(PretendAction(PretendActionOptions()))
- self.assertRaises(UnsupportedActionError, self.pid.perform_action, ConfigAction(ConfigActionOptions()))
- self.assertRaises(UnsupportedActionError, self.ipid.perform_action, PretendAction(PretendActionOptions()))
+ self.assertRaises(Exception, self.pid.perform_action, ConfigAction(ConfigActionOptions()))
+ self.assertRaises(Exception, self.ipid.perform_action, PretendAction(PretendActionOptions()))
def test_11_supports_action(self):
self.assert_(self.pid.supports_action(SupportsFetchActionTest()))