Skip to content

Commit 69bad03

Browse files
asottilegaborbernat
authored andcommitted
Fix unrecognized arguments error (#1327)
1 parent afe11da commit 69bad03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tox/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def add_testenv_attribute_obj(self, obj):
125125
def parse_cli(self, args, strict=False):
126126
args, argv = self.argparser.parse_known_args(args)
127127
if argv and (strict or WITHIN_PROVISION):
128-
self.argparser.error("unrecognized arguments: %s".format(" ".join(argv)))
128+
self.argparser.error("unrecognized arguments: {}".format(" ".join(argv)))
129129
return args
130130

131131
def _format_help(self):

0 commit comments

Comments
 (0)