예제 #1
0
 def test__getarff_path_dataset_arff(self):
     openml.config.set_cache_directory(self.static_cache_dir)
     description = openml.datasets.functions._get_cached_dataset_description(
         2)
     arff_path = _get_dataset_arff(self.workdir, description)
     self.assertIsInstance(arff_path, str)
     self.assertTrue(os.path.exists(arff_path))
 def test__getarff_path_dataset_arff(self):
     openml.config.cache_directory = self.static_cache_dir
     description = openml.datasets.functions._get_cached_dataset_description(2)
     arff_path = _get_dataset_arff(self.workdir, description)
     self.assertIsInstance(arff_path, str)
     self.assertTrue(os.path.exists(arff_path))