From 93d2e4cd1f585f6a8ba3e0dab14e30929e0c56f5 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 28 May 2019 08:29:18 -0700 Subject: [PATCH] Fix unrecognized arguments error --- src/tox/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tox/config/__init__.py b/src/tox/config/__init__.py index d2fb4d82e..1de6054fc 100644 --- a/src/tox/config/__init__.py +++ b/src/tox/config/__init__.py @@ -122,7 +122,7 @@ def add_testenv_attribute_obj(self, obj): def parse_cli(self, args, strict=False): args, argv = self.argparser.parse_known_args(args) if argv and (strict or WITHIN_PROVISION): - self.argparser.error("unrecognized arguments: %s".format(" ".join(argv))) + self.argparser.error("unrecognized arguments: {}".format(" ".join(argv))) return args def _format_help(self):