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

ResourceWarning in test_tasks #69992

Closed
SilentGhost mannequin opened this issue Dec 5, 2015 · 3 comments
Closed

ResourceWarning in test_tasks #69992

SilentGhost mannequin opened this issue Dec 5, 2015 · 3 comments
Labels
tests Tests in the Lib/test dir topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@SilentGhost
Copy link
Mannequin

SilentGhost mannequin commented Dec 5, 2015

BPO 25806
Nosy @gvanrossum, @pitrou, @vstinner, @giampaolo, @vadmium, @1st1
Superseder
  • bpo-25272: asyncio tests are getting noisy
  • 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 = None
    closed_at = <Date 2015-12-05.12:24:32.699>
    created_at = <Date 2015-12-05.11:36:02.775>
    labels = ['type-bug', 'tests', 'expert-asyncio']
    title = 'ResourceWarning in test_tasks'
    updated_at = <Date 2015-12-05.12:24:32.698>
    user = 'https://bugs.python.org/SilentGhost'

    bugs.python.org fields:

    activity = <Date 2015-12-05.12:24:32.698>
    actor = 'SilentGhost'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-12-05.12:24:32.699>
    closer = 'SilentGhost'
    components = ['Tests', 'asyncio']
    creation = <Date 2015-12-05.11:36:02.775>
    creator = 'SilentGhost'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 25806
    keywords = []
    message_count = 3.0
    messages = ['255944', '255947', '255948']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'pitrou', 'vstinner', 'giampaolo.rodola', 'SilentGhost', 'martin.panter', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '25272'
    type = 'behavior'
    url = 'https://bugs.python.org/issue25806'
    versions = ['Python 3.6']

    @SilentGhost
    Copy link
    Mannequin Author

    SilentGhost mannequin commented Dec 5, 2015

    When running ./python Lib/test/test_asyncio/test_tasks.py I get a ResourceWarning:

    Lib/asyncio/base_events.py:379: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>

    When running using test machinery: ./python -m test test_asyncio (I didn't figure out how to run that individual test) everything is fine.

    @SilentGhost SilentGhost mannequin added tests Tests in the Lib/test dir topic-asyncio type-bug An unexpected behavior, bug, or error labels Dec 5, 2015
    @vadmium
    Copy link
    Member

    vadmium commented Dec 5, 2015

    This could be the same as one of the messages listed in bpo-25272.

    @SilentGhost
    Copy link
    Mannequin Author

    SilentGhost mannequin commented Dec 5, 2015

    Indeed it's one of those posted in the msg255490

    @SilentGhost SilentGhost mannequin closed this as completed Dec 5, 2015
    @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 topic-asyncio type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant