Skip to content

Commit fecebbc

Browse files
committed
windows fix?
1 parent 4086730 commit fecebbc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

openml/config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import os
1010
import platform
1111
import shutil
12+
import sys
1213
import warnings
1314
from collections.abc import Iterator
1415
from contextlib import contextmanager
@@ -27,7 +28,10 @@
2728
OPENML_SKIP_PARQUET_ENV_VAR = "OPENML_SKIP_PARQUET"
2829
_TEST_SERVER_NORMAL_USER_KEY = "normaluser"
2930

30-
TEST_SERVER_URL = "http://localhost:8000"
31+
if sys.platform.startswith("win"):
32+
TEST_SERVER_URL = "http://localhost"
33+
else:
34+
TEST_SERVER_URL = "http://localhost:8000"
3135

3236

3337
class _Config(TypedDict):

0 commit comments

Comments
 (0)