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-10 16:05:29 +0100
commita3481aee2fba560831c5d53fd0bef5f9d6fa6c09 (patch)
tree0324c6b2c9c5580850ecff4689df22f9746be99e
parent7fa4a46d3ca84b3376de81d3c6da2f9df08a6864 (diff)
downloadpaludis-a3481aee2fba560831c5d53fd0bef5f9d6fa6c09.tar.gz
paludis-a3481aee2fba560831c5d53fd0bef5f9d6fa6c09.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()))