Skip to content

Commit 68341ed

Browse files
committed
Merge pull request gregmalcolm#9 from rjo1970/106e4476f0f83e58c3702f92ae53bfba537ebffa
pop confused me- this makes it clearer
2 parents 5c87af7 + 106e447 commit 68341ed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

python 2/koans/about_lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_insertions(self):
7171
self.assertEqual(__, knight)
7272

7373
def test_popping_lists(self):
74-
stack = [10, 20, 30]
74+
stack = [10, 20, 30, 40]
7575
stack.append('last')
7676

7777
self.assertEqual(__, stack)

python 3/koans/about_lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_insertions(self):
7272
self.assertEqual(__, knight)
7373

7474
def test_popping_lists(self):
75-
stack = [10, 20, 30]
75+
stack = [10, 20, 30, 40]
7676
stack.append('last')
7777

7878
self.assertEqual(__, stack)

0 commit comments

Comments
 (0)