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 8cc1436 commit 5b56127Copy full SHA for 5b56127
2 files changed
openml/config.py
@@ -24,7 +24,7 @@
24
'connection_n_retries': 2,
25
}
26
27
-config_file = os.path.expanduser(os.path.join('~', '.openml' 'config'))
+config_file = os.path.expanduser(os.path.join('~', '.openml', 'config'))
28
29
# Default values are actually added here in the _setup() function which is
30
# called at the end of this module
tests/test_openml/test_config.py
@@ -0,0 +1,11 @@
1
+import os
2
+
3
+import openml.config
4
+import openml.testing
5
6
7
+class TestConfig(openml.testing.TestBase):
8
9
+ def test_config_loading(self):
10
+ self.assertTrue(os.path.exists(openml.config.config_file))
11
+ self.assertTrue(os.path.isdir(os.path.expanduser('~/.openml')))
0 commit comments