Skip to content

Commit bc67615

Browse files
committed
fixed test
1 parent ea8d5fc commit bc67615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,9 @@ def test_align(x: Variable, u: Variable) -> None: # noqa: F811
715715

716716

717717
def test_is_a_constant() -> None:
718-
m = Model()
718+
model = Model()
719719
index = pd.Index(range(10), name="t")
720-
a = m.add_variables(name="a", coords=[index])
720+
a = model.add_variables(name="a", coords=[index])
721721
b = a.sel(t=1)
722722
c = a * 2
723723
d = a * a

0 commit comments

Comments
 (0)