Skip to content

test test_webbrowser failed #77874

Closed
Closed

Description

@GregWalters
BPO 33693
Nosy @jaraco, @vstinner, @vadmium
Superseder
  • bpo-31014: webbrowser._synthesize uses outdated calling signature for webbrowser.register
  • 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 2018-05-30.12:30:48.915>
    created_at = <Date 2018-05-30.10:59:34.486>
    labels = ['type-bug', '3.7', 'build']
    title = 'test test_webbrowser failed'
    updated_at = <Date 2021-05-26.19:54:44.990>
    user = 'https://bugs.python.org/GregWalters'

    bugs.python.org fields:

    activity = <Date 2021-05-26.19:54:44.990>
    actor = 'jaraco'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-30.12:30:48.915>
    closer = 'ncoghlan'
    components = ['Build']
    creation = <Date 2018-05-30.10:59:34.486>
    creator = 'Greg Walters'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33693
    keywords = []
    message_count = 5.0
    messages = ['318163', '318166', '318168', '318170', '318171']
    nosy_count = 4.0
    nosy_names = ['jaraco', 'vstinner', 'martin.panter', 'Greg Walters']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '31014'
    type = 'behavior'
    url = 'https://bugs.python.org/issue33693'
    versions = ['Python 3.7']

    Activity

    1. GregWalters commented on May 30, 2018

      GregWaltersmannequin
      MannequinAuthor

      Python 3.70b4
      Linux Mint 18.3
      Dell Latitude-E5500
      While running make test got the following error...
      ======================================================================
      ERROR: test_get (test.test_webbrowser.ImportTest)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/test/test_webbrowser.py", line 290, in test_get
          webbrowser.get('fakebrowser')
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/webbrowser.py", line 42, in get
          register_standard_browsers()
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/webbrowser.py", line 567, in register_standard_browsers
          cmd = _synthesize(cmdline, -1)
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/webbrowser.py", line 116, in _synthesize
          register(browser, None, controller, update_tryorder)
      TypeError: register() takes from 2 to 3 positional arguments but 4 were given

      ======================================================================
      ERROR: test_register (test.test_webbrowser.ImportTest)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/test/test_webbrowser.py", line 277, in test_register
          webbrowser.register('Example1', ExampleBrowser)
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/webbrowser.py", line 26, in register
          register_standard_browsers()
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/webbrowser.py", line 567, in register_standard_browsers
          cmd = _synthesize(cmdline, -1)
        File "/home/greg/Downloads/Python-3.7.0b4/Lib/webbrowser.py", line 116, in _synthesize
          register(browser, None, controller, update_tryorder)
      TypeError: register() takes from 2 to 3 positional arguments but 4 were given

      Ran 31 tests in 0.073s

      FAILED (errors=2)
      test test_webbrowser failed
      1 test failed again:
      test_webbrowser

      Total duration: 10 min 50 sec
      Tests result: FAILURE
      Makefile:1066: recipe for target 'test' failed
      make: *** [test] Error 2

      Did not try to go any further.

    2. vstinner commented on May 30, 2018

      @vstinner
      Member

      It seems to be a regression caused by bpo-24241.

    3. GregWalters commented on May 30, 2018

      GregWaltersmannequin
      MannequinAuthor

      Thank you.

      On Wed, May 30, 2018 at 6:22 AM, STINNER Victor <report@bugs.python.org>
      wrote:

      STINNER Victor <vstinner@redhat.com> added the comment:

      It seems to be a regression caused by bpo-24241.

      ----------
      nosy: +vstinner


      Python tracker <report@bugs.python.org>
      <https://bugs.python.org/issue33693\>


      --
      Greg Walters

      Heard from a Klingon Programmer: "Klingon programs don't *do* accountancy.
      For that, you need a Farengi programmer."

    4. vadmium commented on May 30, 2018

      @vadmium
      Member

      This sounds like the existing bug bpo-31014

    5. GregWalters commented on May 30, 2018

      GregWaltersmannequin
      MannequinAuthor

      Thank you

      On Wed, May 30, 2018, 6:28 AM Martin Panter <report@bugs.python.org> wrote:

      Martin Panter <vadmium+py@gmail.com> added the comment:

      This sounds like the existing bug bpo-31014

      ----------
      nosy: +martin.panter
      superseder: -> webbrowser._synthesize uses outdated calling signature for
      webbrowser.register


      Python tracker <report@bugs.python.org>
      <https://bugs.python.org/issue33693\>


    6. added
      type-bugAn unexpected behavior, bug, or error
      and removed
      buildThe build process and cross-build
      on May 30, 2018
    7. 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

    No one assigned

      Labels

      3.7 (EOL)end of lifebuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions