[ python-Bugs-1061991 ] test_subprocess fails on winXP

SourceForge.net noreply at sourceforge.net
Mon Nov 8 13:10:30 CET 2004


Bugs item #1061991, was opened at 2004-11-07 19:20
Message generated for change (Comment added) made by tebeka
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1061991&group_id=5470

Category: Python Library
Group: Python 2.4
>Status: Closed
Resolution: Rejected
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_subprocess fails on winXP

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Miki Tebeka (tebeka)
Date: 2004-11-08 14:10

Message:
Logged In: YES 
user_id=358087

OK. Closed.

----------------------------------------------------------------------

Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-11-08 12:49

Message:
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.

----------------------------------------------------------------------

Comment By: Miki Tebeka (tebeka)
Date: 2004-11-08 08:52

Message:
Logged In: YES 
user_id=358087

Works for me.
Oh well, setting to rejected

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2004-11-08 00:31

Message:
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



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1061991&group_id=5470


More information about the Python-bugs-list mailing list