MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_synthesize

Method test_synthesize

Lib/test/test_webbrowser.py:392–396  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

390
391 @unittest.skipIf(" " in sys.executable, "test assumes no space in path (GH-114452)")
392 def test_synthesize(self):
393 webbrowser = import_helper.import_fresh_module('webbrowser')
394 name = os.path.basename(sys.executable).lower()
395 webbrowser.register(name, None, webbrowser.GenericBrowser(name))
396 webbrowser.get(sys.executable)
397
398 @unittest.skipIf(
399 is_apple_mobile,

Callers

nothing calls this directly

Calls 4

basenameMethod · 0.80
lowerMethod · 0.45
registerMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected