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.test_multiprocessing_spawn fails under -Werror #68015

Closed
brettcannon opened this issue Mar 31, 2015 · 2 comments
Closed

test.test_multiprocessing_spawn fails under -Werror #68015

brettcannon opened this issue Mar 31, 2015 · 2 comments
Labels
tests Tests in the Lib/test dir

Comments

@brettcannon
Copy link
Member

BPO 23827
Nosy @brettcannon, @serhiy-storchaka
Superseder
  • bpo-21779: test_multiprocessing_spawn fails when ran with -Werror
  • 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-03-31.17:16:18.355>
    created_at = <Date 2015-03-31.16:52:44.750>
    labels = ['tests']
    title = 'test.test_multiprocessing_spawn fails under -Werror'
    updated_at = <Date 2015-03-31.17:16:18.353>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2015-03-31.17:16:18.353>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-03-31.17:16:18.355>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2015-03-31.16:52:44.750>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 23827
    keywords = []
    message_count = 2.0
    messages = ['239731', '239737']
    nosy_count = 2.0
    nosy_names = ['brett.cannon', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '21779'
    type = None
    url = 'https://bugs.python.org/issue23827'
    versions = ['Python 3.5']

    @brettcannon
    Copy link
    Member Author

    ======================================================================
    FAIL: test_sys_exit (main.WithProcessesTestSubclassingProcess)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/Users/bcannon/Repositories/cpython/pep-488/Lib/test/_test_multiprocessing.py", line 483, in test_sys_exit
        self.assertEqual(f.read().rstrip(), str(reason))
    AssertionError: "[1, 2, 3]\nException ignored in: <_io.Fi[136 chars]-8'>" != '[1, 2, 3]'
    - [1, 2, 3]
    ?          -
    + [1, 2, 3]- Exception ignored in: <_io.FileIO name='/dev/null' mode='rb' closefd=True>
    - ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r' encoding='UTF-8'>

    @brettcannon brettcannon added the tests Tests in the Lib/test dir label Mar 31, 2015
    @serhiy-storchaka
    Copy link
    Member

    This is a duplicate of bpo-21779.

    @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
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants