Skip to content

Commit 4abc905

Browse files
committed
oops, no cover.
1 parent 3459543 commit 4abc905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpythonic/dispatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def methods():
239239
# Let's see if we might have a self/cls parameter, and if so, get its value.
240240
first_param_name = name_of_1st_positional_parameter(f)
241241
if first_param_name in self_parameter_names:
242-
if len(args) < 1:
242+
if len(args) < 1: # pragma: no cover, shouldn't happen.
243243
raise TypeError("MRO lookup failed: no value provided for self-like parameter '{}' when calling generic-function OOP method {}".format(first_param_name, fullname))
244244
first_arg_value = args[0]
245245
dynamic_instance = first_arg_value # self/cls

0 commit comments

Comments
 (0)