Skip to content

Commit 3516037

Browse files
committed
Seeing as it's python3, let's use braces for the Set definitions
1 parent f3d83ba commit 3516037

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python3/koans/about_sets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def test_convert_the_set_into_a_list_to_sort_it(self):
3333
# ------------------------------------------------------------------
3434

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

3939
self.assertEqual(__, scotsmen - warriors)
4040
self.assertEqual(__, scotsmen | warriors)

0 commit comments

Comments
 (0)