Skip to content

Commit 400143b

Browse files
committed
Fix invalid format string
1 parent ee7858a commit 400143b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_django/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def _get_boolean_value(x, name, default=None):
240240
except KeyError:
241241
raise ValueError(
242242
"{} is not a valid value for {}. "
243-
"It must be one of {}." % (x, name, ", ".join(possible_values.keys()))
243+
"It must be one of {}.".format(x, name, ", ".join(possible_values.keys()))
244244
)
245245

246246

0 commit comments

Comments
 (0)