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_logging leaves temp files #54983

Closed
merwok opened this issue Dec 26, 2010 · 3 comments
Closed

test_logging leaves temp files #54983

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

Comments

@merwok
Copy link
Member

merwok commented Dec 26, 2010

BPO 10774
Nosy @vsajip, @merwok
Files
  • test_logging-nits.diff
  • 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/vsajip'
    closed_at = <Date 2010-12-27.11:19:36.820>
    created_at = <Date 2010-12-26.17:51:54.767>
    labels = ['type-bug', 'tests']
    title = 'test_logging leaves temp files'
    updated_at = <Date 2010-12-28.17:37:35.464>
    user = 'https://github.com/merwok'

    bugs.python.org fields:

    activity = <Date 2010-12-28.17:37:35.464>
    actor = 'eric.araujo'
    assignee = 'vinay.sajip'
    closed = True
    closed_date = <Date 2010-12-27.11:19:36.820>
    closer = 'vinay.sajip'
    components = ['Tests']
    creation = <Date 2010-12-26.17:51:54.767>
    creator = 'eric.araujo'
    dependencies = []
    files = ['20168']
    hgrepos = []
    issue_num = 10774
    keywords = ['patch']
    message_count = 3.0
    messages = ['124669', '124707', '124809']
    nosy_count = 2.0
    nosy_names = ['vinay.sajip', 'eric.araujo']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue10774'
    versions = ['Python 3.2']

    @merwok
    Copy link
    Member Author

    merwok commented Dec 26, 2010

    After a test_logging run in 3.2, I get stray files in $TMP. I think some test is not using the right mixin or addCleanup or tearDown.

    Less importantly, some recently added docstrings produce unwanted output on the console (the method name is clear enough, the redundant docstring is redundant); attached output turns them into comments.

    @merwok merwok added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Dec 26, 2010
    @birkenfeld birkenfeld changed the title test_logging leaks temp files test_logging leaves temp files Dec 26, 2010
    @vsajip
    Copy link
    Member

    vsajip commented Dec 27, 2010

    Fix checked into py3k (r87512).

    @vsajip vsajip closed this as completed Dec 27, 2010
    @merwok
    Copy link
    Member Author

    merwok commented Dec 28, 2010

    Great, thanks!

    @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