Skip to content

Commit 23a3450

Browse files
committed
fix UserWarning
1 parent 8587414 commit 23a3450

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

openml/_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,9 @@ def start_using_configuration_for_example(self) -> None:
519519
self._manager._config,
520520
servers=self._test_servers,
521521
)
522+
test_server = self._test_servers[self._manager._config.api_version]["server"]
522523
warnings.warn(
523-
f"Switching to the test servers {self._test_servers} to not upload results to "
524+
f"Switching to the test server {test_server} to not upload results to "
524525
"the live server. Using the test server may result in reduced performance of the "
525526
"API!",
526527
stacklevel=2,

0 commit comments

Comments
 (0)