Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_signal in test_subprocess displays traceback #52493

Closed
pitrou opened this issue Mar 27, 2010 · 3 comments
Closed

test_signal in test_subprocess displays traceback #52493

pitrou opened this issue Mar 27, 2010 · 3 comments
Assignees
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented Mar 27, 2010

BPO 8246
Nosy @gpshead, @pitrou, @florentx

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/florentx'
closed_at = <Date 2010-03-27.22:50:28.715>
created_at = <Date 2010-03-27.18:32:19.613>
labels = ['type-bug', 'tests']
title = 'test_signal in test_subprocess displays traceback'
updated_at = <Date 2010-03-27.22:50:28.713>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2010-03-27.22:50:28.713>
actor = 'flox'
assignee = 'flox'
closed = True
closed_date = <Date 2010-03-27.22:50:28.715>
closer = 'flox'
components = ['Tests']
creation = <Date 2010-03-27.18:32:19.613>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 8246
keywords = []
message_count = 3.0
messages = ['101836', '101842', '101848']
nosy_count = 4.0
nosy_names = ['gregory.p.smith', 'pitrou', 'gps', 'flox']
pr_nums = []
priority = 'low'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue8246'
versions = ['Python 3.2']

@pitrou
Copy link
Member Author

pitrou commented Mar 27, 2010

test_signal in test_subprocess doesn't mute the subprocess stderr, which gives output such as:

test_subprocess
.
    this bit of output is from a test of stdout in a different process ...
.
    this bit of output is from a test of stdout in a different process ...
.
    this bit of output is from a test of stdout in a different process ...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
KeyboardInterrupt
Traceback (most recent call last):
  File "<string>", line 1, in <module>
KeyboardInterrupt

@pitrou pitrou added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Mar 27, 2010
@gpshead gpshead self-assigned this Mar 27, 2010
@florentx
Copy link
Mannequin

florentx mannequin commented Mar 27, 2010

It is already fixed in 2.7, with r79344, r79346 and r79350.

Need porting to other branches.

@florentx
Copy link
Mannequin

florentx mannequin commented Mar 27, 2010

Merged in 3.x with r79473

@florentx florentx mannequin closed this as completed Mar 27, 2010
@florentx florentx mannequin assigned florentx and unassigned gpshead Mar 27, 2010
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants