Skip to content

Commit 90b783d

Browse files
committed
Corrected a koan to account for python3 language changes
1 parent ef0c268 commit 90b783d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

python3/koans/about_methods.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ def test_calling_functions_with_wrong_number_of_arguments(self):
2323
msg = exception.args[0]
2424

2525
self.assertRegexpMatches(msg,
26-
r'my_global_function\(\) takes exactly 2 ' +
27-
r'arguments \(0 given\)')
26+
r'my_global_function\(\) missing 2 required positional arguments')
2827

2928
try:
3029
my_global_function(1, 2, 3)

0 commit comments

Comments
 (0)