Skip to content

Commit ac28f82

Browse files
committed
update fixture: with_server
1 parent 23a3450 commit ac28f82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ def as_robot() -> Iterator[None]:
288288

289289
@pytest.fixture(autouse=True)
290290
def with_server(request):
291+
openml.config.set_api_version(APIVersion.V1)
291292
if "production_server" in request.keywords:
292293
openml.config.set_servers("production")
293294
yield

0 commit comments

Comments
 (0)