Skip to content

Commit 7abb5e7

Browse files
committed
fix flake
1 parent 1ce6fe8 commit 7abb5e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_transformer.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import numpy as np
88

9+
910
def test_simple_efficiency():
1011

1112
# define test inputs
@@ -58,7 +59,7 @@ def test_simple_efficiency_known_values():
5859
transformer.simple_efficiency(rating*(1 + no_load_loss + load_loss),
5960
*args),
6061
rating,
61-
)
62+
)
6263

6364

6465
def test_simple_efficiency_numpy_array_inputs():
@@ -77,6 +78,7 @@ def test_simple_efficiency_numpy_array_inputs():
7778
assert isinstance(output_power, np.ndarray)
7879
assert output_power.shape == input_power.shape
7980

81+
8082
def test_simple_efficiency_vector_equals_scalar():
8183
input_power = np.array([200.0, 600.0, 900.0])
8284
no_load_loss = 0.005
@@ -95,4 +97,4 @@ def test_simple_efficiency_vector_equals_scalar():
9597
for p in input_power
9698
])
9799

98-
assert_allclose(vector_result, scalar_result)
100+
assert_allclose(vector_result, scalar_result)

0 commit comments

Comments
 (0)