-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ssl ceertificate testing to check.yml
- Loading branch information
1 parent
4b146e7
commit b158256
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
from __future__ import print_function | ||
import os | ||
import sys | ||
import pip | ||
import numpy | ||
try: | ||
from urllib import urlopen | ||
except ImportError: | ||
from urllib.request import urlopen | ||
|
||
print("executable: " + sys.executable) | ||
print("os location: " + os.__file__) | ||
print("pip location: " + pip.__file__) | ||
print("numpy location: " + numpy.__file__) | ||
print("numpy location: " + numpy.__file__) | ||
|
||
print("Testing ssl certificates...") | ||
urlopen("https://google.com") |