mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 12:49:24 +01:00
Fix Python 2.6 compatibility of previous commit.
This commit is contained in:
parent
3f9118a1a6
commit
ded7dc8e6f
@ -540,13 +540,13 @@ class FormatTestCase(SupyTestCase):
|
|||||||
'apples, oranges, and watermelon.')
|
'apples, oranges, and watermelon.')
|
||||||
|
|
||||||
def testPercentL(self):
|
def testPercentL(self):
|
||||||
self.assertIn(format('%L', {'apples', 'oranges', 'watermelon'}), {
|
self.assertIn(format('%L', set(('apples', 'oranges', 'watermelon'])), [
|
||||||
'apples, oranges, and watermelon',
|
'apples, oranges, and watermelon',
|
||||||
'oranges, apples, and watermelon',
|
'oranges, apples, and watermelon',
|
||||||
'apples, watermelon, and oranges',
|
'apples, watermelon, and oranges',
|
||||||
'oranges, watermelon, and apples',
|
'oranges, watermelon, and apples',
|
||||||
'watermelon, apples, and oranges',
|
'watermelon, apples, and oranges',
|
||||||
'watermelon, oranges, and apples'})
|
'watermelon, oranges, and apples'])
|
||||||
|
|
||||||
self.assertEqual(format('%L',
|
self.assertEqual(format('%L',
|
||||||
(['apples', 'oranges', 'watermelon'], 'or')),
|
(['apples', 'oranges', 'watermelon'], 'or')),
|
||||||
|
Loading…
Reference in New Issue
Block a user