This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_subprocess fails on winXP
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: jlgijsbers, tebeka, tim.peters
Priority: normal Keywords:

Created on 2004-11-07 17:20 by tebeka, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg23058 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-11-07 17:20
This is with beta 2:
>>> from test.test_subprocess import test_main
>>> test_main()
    a DOS box should flash briefly ...

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in -toplevel-
    test_main()
  File "C:\apps\Python24\lib\test\test_subprocess.py",
line 542, in test_main
    test_support.run_unittest(ProcessTestCase)
  File "C:\apps\Python24\lib\test\test_support.py",
line 290, in run_unittest
    run_suite(suite, testclass)
  File "C:\apps\Python24\lib\test\test_support.py",
line 274, in run_suite
    raise TestFailed(msg)
TestFailed: errors occurred in
test.test_subprocess.ProcessTestCase

winXP (sp2), IBM T40 laptop.
msg23059 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2004-11-07 22:31
Logged In: YES 
user_id=31435

Works fine on my WinXP Pro SP2 box.  So we need more info.  
Please try this from the root directory of your Python 
installation:

C:\Python24>python Lib/test/test_subprocess.py

Here's what I see when I do that:

test_call_kwargs (__main__.ProcessTestCase) ... ok
test_call_seq (__main__.ProcessTestCase) ... ok
test_call_string (__main__.ProcessTestCase) ... ok
test_communicate (__main__.ProcessTestCase) ... ok
test_communicate_pipe_buf (__main__.ProcessTestCase) ... 
ok
test_communicate_returns (__main__.ProcessTestCase) ... ok
test_creationflags (__main__.ProcessTestCase) ...     a DOS 
box should flash briefly ...
ok
test_cwd (__main__.ProcessTestCase) ... ok
test_env (__main__.ProcessTestCase) ... ok
test_executable (__main__.ProcessTestCase) ... ok
test_invalid_args (__main__.ProcessTestCase) ... ok
test_list2cmdline (__main__.ProcessTestCase) ... ok
test_no_leaking (__main__.ProcessTestCase) ... ok
test_poll (__main__.ProcessTestCase) ... ok
test_shell_sequence (__main__.ProcessTestCase) ... ok
test_shell_string (__main__.ProcessTestCase) ... ok
test_startupinfo (__main__.ProcessTestCase) ... ok
test_stderr_filedes (__main__.ProcessTestCase) ... ok
test_stderr_fileobj (__main__.ProcessTestCase) ... ok
test_stderr_none (__main__.ProcessTestCase) ... ok
test_stderr_pipe (__main__.ProcessTestCase) ... ok
test_stdin_filedes (__main__.ProcessTestCase) ... ok
test_stdin_fileobj (__main__.ProcessTestCase) ... ok
test_stdin_none (__main__.ProcessTestCase) ... ok
test_stdin_pipe (__main__.ProcessTestCase) ... ok
test_stdout_filedes (__main__.ProcessTestCase) ... ok
test_stdout_fileobj (__main__.ProcessTestCase) ... ok
test_stdout_none (__main__.ProcessTestCase) ...     this bit 
of output is from a test of stdout in a different process .
..
ok
test_stdout_pipe (__main__.ProcessTestCase) ... ok
test_stdout_stderr_file (__main__.ProcessTestCase) ... ok
test_stdout_stderr_pipe (__main__.ProcessTestCase) ... ok
test_universal_newlines (__main__.ProcessTestCase) ... ok
test_universal_newlines_communicate 
(__main__.ProcessTestCase) ... ok
test_wait (__main__.ProcessTestCase) ... ok
test_writes_before_communicate 
(__main__.ProcessTestCase) ... ok

-----------------------------------------------------------
-----------
Ran 35 tests in 9.844s

OK

msg23060 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-11-08 06:52
Logged In: YES 
user_id=358087

Works for me.
Oh well, setting to rejected
msg23061 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-11-08 10:49
Logged In: YES 
user_id=469548

Uhm, did you mean you can't reproduce it anymore either? If
so, the bug should be closed as well.
msg23062 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-11-08 12:10
Logged In: YES 
user_id=358087

OK. Closed.
History
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41143
2004-11-07 17:20:39tebekacreate