Skip to content

Commit

Permalink
test: remove tests/fixtures/test_models.py, use the ones in examples/
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofavoritobi committed Sep 19, 2023
1 parent 524d301 commit e2f161a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 103 deletions.
99 changes: 0 additions & 99 deletions tests/fixtures/test_models.py

This file was deleted.

3 changes: 1 addition & 2 deletions tests/test_calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
from black_it.schedulers.round_robin import RoundRobinScheduler
from black_it.search_space import SearchSpace
from black_it.utils.seedable import BaseSeedable

from .fixtures.test_models import NormalMV # type: ignore
from examples.models.simple_models import NormalMV


class TestCalibrate: # pylint: disable=too-many-instance-attributes,attribute-defined-outside-init
Expand Down
3 changes: 1 addition & 2 deletions tests/test_samplers/test_xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
from black_it.samplers.halton import HaltonSampler
from black_it.samplers.xgboost import XGBoostSampler
from black_it.search_space import SearchSpace

from ..fixtures.test_models import BH4 # type: ignore
from examples.models.economics.brock_hommes import BH4

# TODO: this is a temporary workaround to make tests to run also on Windows and Mac. # pylint: disable=fixme
# See: https://github.com/bancaditalia/black-it/issues/49
Expand Down

0 comments on commit e2f161a

Please sign in to comment.