Skip to content

Commit f3d83ba

Browse files
committed
Quote fix py3 side of house
1 parent 4ba9129 commit f3d83ba

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

python3/koans/about_sets.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class AboutSets(Koan):
77
def test_sets_make_keep_lists_unique(self):
88
highlanders = ['MacLeod', 'Ramirez', 'MacLeod', 'Matunas', 'MacLeod', 'Malcolm', 'MacLeod']
9-
9+
1010
there_can_only_be_only_one = set(highlanders)
1111

1212
self.assertEqual(__, there_can_only_be_only_one)
@@ -20,7 +20,7 @@ def test_dictionaries_and_sets_use_same_curly_braces(self):
2020

2121
self.assertEqual(__, type({1, 2, 3}).__name__)
2222
self.assertEqual(__, type({'one': 1, 'two': 2}).__name__)
23-
23+
2424
self.assertEqual(__, type({}).__name__)
2525

2626
def test_creating_sets_using_strings(self):
@@ -29,12 +29,12 @@ def test_creating_sets_using_strings(self):
2929

3030
def test_convert_the_set_into_a_list_to_sort_it(self):
3131
self.assertEqual(__, sorted(set('12345')))
32-
32+
3333
# ------------------------------------------------------------------
3434

3535
def test_set_have_arithmetic_operators(self):
36-
scotsmen = set(['MacLeod', "Wallace', 'Willie'])
37-
warriors = set(['MacLeod', "Wallace', 'Leonidas'])
36+
scotsmen = set(['MacLeod', 'Wallace', 'Willie'])
37+
warriors = set(['MacLeod', 'Wallace', 'Leonidas'])
3838

3939
self.assertEqual(__, scotsmen - warriors)
4040
self.assertEqual(__, scotsmen | warriors)
@@ -46,9 +46,9 @@ def test_set_have_arithmetic_operators(self):
4646
def test_we_can_query_set_membership(self):
4747
self.assertEqual(__, 127 in {127, 0, 0, 1} )
4848
self.assertEqual(__, 'cow' not in set('apocalypse now') )
49-
49+
5050
def test_we_can_compare_subsets(self):
5151
self.assertEqual(__, set('cake') <= set('cherry cake'))
5252
self.assertEqual(__, set('cake').issubset(set('cherry cake')) )
53-
53+
5454
self.assertEqual(__, set('cake') > set('pie'))

0 commit comments

Comments
 (0)