Skip to content

Commit 280245e

Browse files
style: pre-commit fixes
1 parent 7f28289 commit 280245e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/integration/test_classification.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ def test_classify_using_hessian(self, simulator, dataset):
195195
message, _ = pybop.classify_using_hessian(result)
196196
assert message == "The optimiser has located a maximum."
197197

198-
199198
def test_insensitive_classify_using_hessian(self, model, parameter_values):
200199
param_R0_a = pybop.Parameter(bounds=[0, 0.002])
201200
param_R0_b = pybop.Parameter(bounds=[-0.001, 0.001])
@@ -270,7 +269,10 @@ def __init__(self):
270269
self.names = ["p0", "p1"]
271270

272271
def get_bounds(self):
273-
return {"lower": np.array([-10.0, -10.0]), "upper": np.array([10.0, 10.0])}
272+
return {
273+
"lower": np.array([-10.0, -10.0]),
274+
"upper": np.array([10.0, 10.0]),
275+
}
274276

275277
class TestProblem:
276278
def __init__(self, A, b, c=0.0):
@@ -332,4 +334,4 @@ class TestResult:
332334
assert Z.shape == (41, 41)
333335
assert np.isfinite(Z).all()
334336
assert param0.min() < x[0] < param0.max()
335-
assert param1.min() < x[1] < param1.max()
337+
assert param1.min() < x[1] < param1.max()

0 commit comments

Comments
 (0)