Skip to content

test_signal failure under Windows #62723

Closed

Description

@pitrou
BPO 18523
Nosy @pitrou, @vstinner, @larryhastings, @briancurtin
Superseder
  • bpo-18396: test_signal.test_issue9324() fails on buildbot AMD64 Windows7 SP1 3.x
  • 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/vstinner'
    closed_at = <Date 2013-07-22.19:15:45.582>
    created_at = <Date 2013-07-21.19:35:41.313>
    labels = ['type-bug', 'tests', 'OS-windows', 'release-blocker']
    title = 'test_signal failure under Windows'
    updated_at = <Date 2013-07-22.19:15:45.581>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2013-07-22.19:15:45.581>
    actor = 'vstinner'
    assignee = 'vstinner'
    closed = True
    closed_date = <Date 2013-07-22.19:15:45.582>
    closer = 'vstinner'
    components = ['Tests', 'Windows']
    creation = <Date 2013-07-21.19:35:41.313>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 18523
    keywords = []
    message_count = 2.0
    messages = ['193464', '193469']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'vstinner', 'larry', 'brian.curtin']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'duplicate'
    stage = 'needs patch'
    status = 'closed'
    superseder = '18396'
    type = 'behavior'
    url = 'https://bugs.python.org/issue18523'
    versions = ['Python 3.4']

    Activity

    1. pitrou commented on Jul 21, 2013

      @pitrou
      MemberAuthor

      c31bec42e4112a49c192a16f271faffd5a44b83d (by Victor) seems to be the culprit.

      See http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/2188

      ======================================================================
      ERROR: test_issue9324 (test.test_signal.WindowsSignalTests)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_signal.py", line 213, in test_issue9324
          signal.signal(sig, signal.signal(sig, handler))
      TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object
    2. added
      testsTests in the Lib/test dir
      type-bugAn unexpected behavior, bug, or error
      on Jul 21, 2013
    3. vstinner commented on Jul 21, 2013

      @vstinner
      Member

      This issue is a duplicate of bpo-18396.
      Le 21 juil. 2013 21:35, "Antoine Pitrou" <report@bugs.python.org> a écrit :

      New submission from Antoine Pitrou:

      c31bec42e4112a49c192a16f271faffd5a44b83d (by Victor) seems to be the
      culprit.

      See
      http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/2188

      ======================================================================
      ERROR: test_issue9324 (test.test_signal.WindowsSignalTests)
      ----------------------------------------------------------------------

      > Traceback (most recent call last):
      >   File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_signal.py",
      > line 213, in test_issue9324
      >     signal.signal(sig, signal.signal(sig, handler))
      > TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a
      > callable object
      >
      > 

      assignee: haypo
      components: Tests, Windows
      messages: 193464
      nosy: brian.curtin, haypo, larry, pitrou
      priority: release blocker
      severity: normal
      stage: needs patch
      status: open
      title: test_signal failure under Windows
      type: behavior
      versions: Python 3.4


      Python tracker <report@bugs.python.org>
      <http://bugs.python.org/issue18523\>


    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions