From 876c43245ea0a42090636222c02ccf359e4f5aa8 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 13 Oct 2004 03:21:35 +0000 Subject: [PATCH] Windows test_creationflags() test: print msg to stderr informing the tester that a DOS box is expected to flash. Slash the sleep from 2 seconds to a quarter second (why would we want to wait 2 seconds just to stare at a DOS box?). --- Lib/test/test_subprocess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 3312f7cdbd..a11183be39 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -481,8 +481,9 @@ class ProcessTestCase(unittest.TestCase): def test_creationflags(self): # creationflags argument CREATE_NEW_CONSOLE = 16 + sys.stderr.write(" a DOS box should flash briefly ...\n") subprocess.call(sys.executable + - ' -c "import time; time.sleep(2)"', + ' -c "import time; time.sleep(0.25)"', creationflags=CREATE_NEW_CONSOLE) def test_invalid_args(self): -- 2.40.0