From ded7dc8e6ff5fa487a7500f8323e1d8bca1554c1 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 14 May 2015 07:33:26 +0000 Subject: [PATCH] Fix Python 2.6 compatibility of previous commit. --- test/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_utils.py b/test/test_utils.py index ab41ea404..5e7b8e19a 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -540,13 +540,13 @@ class FormatTestCase(SupyTestCase): 'apples, oranges, and watermelon.') def testPercentL(self): - self.assertIn(format('%L', {'apples', 'oranges', 'watermelon'}), { + self.assertIn(format('%L', set(('apples', 'oranges', 'watermelon'])), [ 'apples, oranges, and watermelon', 'oranges, apples, and watermelon', 'apples, watermelon, and oranges', 'oranges, watermelon, and apples', 'watermelon, apples, and oranges', - 'watermelon, oranges, and apples'}) + 'watermelon, oranges, and apples']) self.assertEqual(format('%L', (['apples', 'oranges', 'watermelon'], 'or')),