Issue #20640: Add https: to url prefixes so test passes on Darwin.

This commit is contained in:
Terry Jan Reedy 2016-05-15 13:25:23 -04:00
parent c64d942e8d
commit cd65a0302a

View File

@ -149,7 +149,7 @@ class GetHelpSourceDialog(Toplevel):
self.path.get().strip()) self.path.get().strip())
if sys.platform == 'darwin': if sys.platform == 'darwin':
path = self.result[1] path = self.result[1]
if path.startswith(('www', 'file:', 'http:')): if path.startswith(('www', 'file:', 'http:', 'https:')):
pass pass
else: else:
# Mac Safari insists on using the URI form for local files # Mac Safari insists on using the URI form for local files