mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-22 18:39:31 +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.')
|
||||
|
||||
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')),
|
||||
|
Loading…
Reference in New Issue
Block a user