8000 gh-68583: webbrowser: replace `getopt` with `argparse`, add long options by hugovk · Pull Request #117047 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-68583: webbrowser: replace getopt with argparse, add long options #117047

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

Merged
merged 17 commits into from
Apr 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix whitespace
  • Loading branch information
hugovk committed Mar 19, 2024
commit fac943d37f4d36a399e317da4011df93319ac288
3 changes: 1 addition & 2 deletions Lib/test/test_webbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class ELinksCommandTest(CommandTestMixin, unittest.TestCase):

def test_open(self):
self._test('open', options=['-remote'],
arguments=['openURL({})'.format(URL)])
arguments=['openURL({})'.format(URL)])

def test_open_with_autoraise_false(self):
self._test('open',
Expand Down Expand Up @@ -271,7 +271,6 @@ def test_register_default(self):
def test_register_preferred(self):
self._check_registration(preferred=True)


@unittest.skipUnless(sys.platform == "darwin", "macOS specific test")
def test_no_xdg_settings_on_macOS(self):
# On macOS webbrowser should not use xdg-settings to
Expand Down
0