Skip to content

Commit

Permalink
Fix typing in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeurer committed Aug 22, 2022
1 parent 268a14d commit ee0916e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/02_retrieve_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from ConfigSpace.configuration_space import Configuration
from ConfigSpace.util import deactivate_inactive_hyperparameters

from autosklearn.data.abstract_data_manager import AbstractDataManager
from autosklearn.constants import *
from autosklearn.metrics import CLASSIFICATION_METRICS, REGRESSION_METRICS
from autosklearn.util import pipeline
Expand Down Expand Up @@ -188,9 +189,10 @@ def write_output(outputs, configurations, output_dir, configuration_space, metri
fh.write("%s: %s\n" % (key, description[key]))


class DummyDatamanager():
class DummyDatamanager(AbstractDataManager):
def __init__(self, info, feat_type=None):
self.info = info
super().__init__("Test")
self._info = info
self.feat_type = feat_type

def main():
Expand Down

0 comments on commit ee0916e

Please sign in to comment.