[Python-checkins] python/dist/src/Lib/test test_subprocess.py, 1.5,
1.6
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Wed Oct 13 05:21:37 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16613/Lib/test
Modified Files:
test_subprocess.py
Log Message:
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?).
Index: test_subprocess.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_subprocess.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- test_subprocess.py 13 Oct 2004 03:14:40 -0000 1.5
+++ test_subprocess.py 13 Oct 2004 03:21:35 -0000 1.6
@@ -481,8 +481,9 @@
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):
More information about the Python-checkins
mailing list