Skip to content

Commit 0265951

Browse files
committed
FIX certificate error
1 parent 9b7aad0 commit 0265951

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

research/datasets/tests/test_datasets.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
from urllib.request import urlopen
22
import multiprocessing.dummy as mp
33
from multiprocessing import cpu_count
4+
import ssl
45

56
from .._base import FETCH_URLS
67

8+
ssl._create_default_https_context = ssl._create_unverified_context
9+
710

811
def test_urls():
912
"""Test whether URLS are working."""

0 commit comments

Comments
 (0)