From 4e8c08eb8fb22afa61b805f545c0d0460e79184e Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sat, 1 Jul 2017 20:19:49 -0400 Subject: Stopped skipping a unit test on Windows which should pass now --- cmd2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd2.py') diff --git a/cmd2.py b/cmd2.py index 0177a18d..b04bf215 100755 --- a/cmd2.py +++ b/cmd2.py @@ -1431,8 +1431,7 @@ Paths or arguments that contain spaces must be enclosed in quotes sys.argv.extend(arg[1:]) # Run the script - use repr formatting to escape things which need to be escaped to prevent issues on Windows - py_cmd = "run({!r})".format(script_path) - self.do_py(py_cmd) + self.do_py("run({!r})".format(script_path)) # Restore command line arguments to original state sys.argv = orig_args -- cgit v1.2.1