We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7cf96 commit 7ae536aCopy full SHA for 7ae536a
1 file changed
openml/testing.py
@@ -15,6 +15,8 @@
15
import requests
16
17
import openml
18
+from openml._api import HTTPClient
19
+from openml.enums import APIVersion
20
from openml.exceptions import OpenMLServerException
21
from openml.tasks import TaskType
22
@@ -53,6 +55,8 @@ class TestBase(unittest.TestCase):
53
55
logger = logging.getLogger("unit_tests_published_entities")
54
56
logger.setLevel(logging.DEBUG)
57
58
+ http_client: HTTPClient = HTTPClient(api_version=APIVersion.V1)
59
+
60
def setUp(self, n_levels: int = 1, tmpdir_suffix: str = "") -> None:
61
"""Setup variables and temporary directories.
62
0 commit comments