Navigation Menu

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_webbrowser failed #77874

Closed
GregWalters mannequin opened this issue May 30, 2018 · 5 comments
Closed

test test_webbrowser failed #77874

GregWalters mannequin opened this issue May 30, 2018 · 5 comments
Labels
3.7 (EOL) end of life build The build process and cross-build type-bug An unexpected behavior, bug, or error

Comments

@GregWalters
Copy link
Mannequin

GregWalters mannequin commented May 30, 2018

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']

    @GregWalters
    Copy link
    Mannequin Author

    GregWalters mannequin commented May 30, 2018

    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.

    @GregWalters GregWalters mannequin added build The build process and cross-build 3.7 (EOL) end of life labels May 30, 2018
    @vstinner
    Copy link
    Member

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

    @GregWalters
    Copy link
    Mannequin Author

    GregWalters mannequin commented May 30, 2018

    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."

    @vadmium
    Copy link
    Member

    vadmium commented May 30, 2018

    This sounds like the existing bug bpo-31014

    @GregWalters
    Copy link
    Mannequin Author

    GregWalters mannequin commented May 30, 2018

    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\>


    @ncoghlan ncoghlan added type-bug An unexpected behavior, bug, or error and removed build The build process and cross-build labels May 30, 2018
    @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
    3.7 (EOL) end of life build The build process and cross-build type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants