Skip to content

Commit 003f99c

Browse files
committed
Fix assertion messages in func_defaults snippet
1 parent d807ad0 commit 003f99c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/snippets/func_defaults.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ def one_normal_one_default_arg(pos, arg="default"):
5656
except TypeError:
5757
pass
5858
else:
59-
assert False, 'no TypeError raised: two args to one_default_arg'
59+
assert False, 'no TypeError raised: no args to one_normal_one_default_arg'
6060

6161
try:
6262
one_normal_one_default_arg('one', 'two', 'three')
6363
except TypeError:
6464
pass
6565
else:
66-
assert False, 'no TypeError raised: two args to one_default_arg'
66+
assert False, 'no TypeError raised: three args to one_normal_one_default_arg'

0 commit comments

Comments
 (0)