def test__get_cached_dataset(self, ):
     openml.config.set_cache_directory(self.static_cache_dir)
     dataset = _get_cached_dataset(2)
     features = _get_cached_dataset_features(2)
     qualities = _get_cached_dataset_qualities(2)
     self.assertIsInstance(dataset, OpenMLDataset)
     self.assertTrue(len(dataset.features) > 0)
     self.assertTrue(len(dataset.features) == len(features['oml:feature']))
     self.assertTrue(len(dataset.qualities) == len(qualities))
 def test__get_cached_dataset(self, ):
     openml.config.cache_directory = self.static_cache_dir
     dataset = _get_cached_dataset(2)
     features = _get_cached_dataset_features(2)
     qualities = _get_cached_dataset_qualities(2)
     self.assertIsInstance(dataset, OpenMLDataset)
     self.assertTrue(len(dataset.features) > 0)
     self.assertTrue(len(dataset.features) == len(features['oml:feature']))
     self.assertTrue(len(dataset.qualities) == len(qualities))