From 06094591c5397af64a495dce2271da2df5b491b9 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 26 Aug 2015 13:13:01 +0100 Subject: [PATCH] Pass an empty list of arguments to tox if no arguments are given --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 4a7b3c99aa..0e3f2f18d5 100755 --- a/setup.py +++ b/setup.py @@ -65,6 +65,8 @@ class Tox(Command): args = self.tox_args if args: args = shlex.split(self.tox_args) + else: + args = [] errno = tox.cmdline(args=args) sys.exit(errno)