summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-10-13 03:21:35 +0000
committerTim Peters <tim.peters@gmail.com>2004-10-13 03:21:35 +0000
commit24570a7d05a0a657d55d5f57b0d0dbd80afd7699 (patch)
tree30274efc6a100f24293acfa342189efb36a5e4e5 /Lib
parentaa6160446d87d5cb750b98f16b82195a1ab15e7c (diff)
downloadcpython-24570a7d05a0a657d55d5f57b0d0dbd80afd7699.tar.gz
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?).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_subprocess.py3
1 files changed, 2 insertions, 1 deletions
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):