Skip to content
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
Next Next commit
Fix ssl timeout in testing internet feature
  • Loading branch information
tornaria committed Nov 10, 2023
commit 5a755e950d035edb48242409131dd31130071001
2 changes: 1 addition & 1 deletion src/sage/features/internet.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _is_present(self):
try:
urlopen(req, timeout=1, context=default_context())
return FeatureTestResult(self, True)
except urllib.error.URLError:
except (urllib.error.URLError, TimeoutError):
return FeatureTestResult(self, False)


Expand Down