summaryrefslogtreecommitdiff
path: root/test/test_psutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_psutil.py')
-rw-r--r--test/test_psutil.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_psutil.py b/test/test_psutil.py
index f98b0134..333015be 100644
--- a/test/test_psutil.py
+++ b/test/test_psutil.py
@@ -1789,8 +1789,9 @@ class TestProcess(unittest.TestCase):
# https://github.com/giampaolo/psutil/issues/628
funky_path = create_temp_executable_file('foo bar )')
self.addCleanup(safe_remove, funky_path)
- cmdline = [funky_path, "arg1", "arg2", "", "arg3", "", "-c",
- "import time; [time.sleep(0.01) for x in range(3000)];"]
+ cmdline = [funky_path, "-c",
+ "import time; [time.sleep(0.01) for x in range(3000)];"
+ "arg1", "arg2", "", "arg3", ""]
sproc = get_test_subprocess(cmdline)
p = psutil.Process(sproc.pid)
# ...in order to try to prevent occasional failures on travis