From 51a7e0c3af9dd995d9ae09b70455a1a5368cd9c9 Mon Sep 17 00:00:00 2001 From: Herwin van Welbergen <hvanwelbergen@TechFak.Uni-Bielefeld.DE> Date: Fri, 21 Dec 2012 14:14:52 +0100 Subject: [PATCH] made python 2.6 compliant --- ipaacalib/python/test/src/testnotifier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipaacalib/python/test/src/testnotifier.py b/ipaacalib/python/test/src/testnotifier.py index 11576a3..3b741b3 100644 --- a/ipaacalib/python/test/src/testnotifier.py +++ b/ipaacalib/python/test/src/testnotifier.py @@ -30,8 +30,8 @@ class IUCategoryMatcher(BaseMatcher): class ComponentNotifierTest(unittest.TestCase): - RECV_CAT = {"testrec1", "testrc2"} - SEND_CAT = {"testsnd1", "testsnd2", "testsnd3"} + RECV_CAT = set(["testrec1", "testrc2"]) + SEND_CAT = set(["testsnd1", "testsnd2", "testsnd3"]) def setUp(self): self.mockOutBuffer = mock() self.mockInBuffer = mock() -- GitLab