diff --git a/.github/scripts/check_python_structure.py b/.github/scripts/check_python_structure.py index d605df3..7fc870b 100644 --- a/.github/scripts/check_python_structure.py +++ b/.github/scripts/check_python_structure.py @@ -2,8 +2,15 @@ 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__) \ No newline at end of file +print("executable: " + sys.executable, flush=True) +print("os location: " + os.__file__, flush=True) +print("pip location: " + pip.__file__, flush=True) +print("numpy location: " + numpy.__file__, flush=True) + +print("Testing ssl certificates...", flush=True) +urlopen("https://google.com") \ No newline at end of file