Skip to content

Commit

Permalink
Exclude test using ConfigSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Nov 23, 2023
1 parent 69c1cac commit 649b0c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion smt/applications/tests/test_mixed_integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
OrdinalVariable,
CategoricalVariable,
)
import smt.utils.design_space as ds

from smt.sampling_methods import LHS
from smt.surrogate_models import (
KRG,
Expand Down Expand Up @@ -300,7 +302,8 @@ def test_examples(self):
self.run_mixed_integer_context_example()
self.run_hierarchical_variables_Goldstein()
self.run_mixed_discrete_design_space_example()
self.run_hierarchical_design_space_example()
if ds.HAS_CONFIG_SPACE:
self.run_hierarchical_design_space_example() # works only with config space impl

def run_mixed_integer_lhs_example(self):
import numpy as np
Expand Down

0 comments on commit 649b0c2

Please sign in to comment.