Skip to content

Commit 83da4ed

Browse files
committed
Restore more complex point approximator tests
1 parent 426830a commit 83da4ed

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

tests/test_compatibility/test_approximators/test_point_approximator/conftest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,3 @@ def approximator(adapter, point_inference_network, summary_network, standardize)
4747
summary_network=summary_network,
4848
standardize=standardize,
4949
)
50-
51-
52-
@pytest.fixture()
53-
def adapter():
54-
from bayesflow import ContinuousApproximator
55-
56-
return ContinuousApproximator.build_adapter(
57-
inference_variables=["mean", "std"],
58-
inference_conditions=["x"],
59-
)

tests/test_compatibility/test_approximators/test_point_approximator/test_point_approximator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55

66

77
@pytest.mark.parametrize(
8-
"summary_network,simulator,standardize",
8+
"summary_network,simulator,adapter,standardize",
99
[
10-
[None, "normal", "all"],
10+
["deep_set", "sir", "summary", "all"], # use deep_set for speed
11+
[None, "two_moons", "direct", None],
1112
],
1213
indirect=True,
1314
)

0 commit comments

Comments
 (0)