Skip to content

Commit e9a8dfb

Browse files
test: do not test system subtype warning in independent_variables
1 parent 690e5c7 commit e9a8dfb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/abstractsystem.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ struct MyNLS <: MT.AbstractSystem
88
name::Any
99
systems::Any
1010
end
11-
@test_logs (:warn,) tmp=independent_variables(MyNLS("sys", []))
1211
tmp = independent_variables(MyNLS("sys", []))
1312
@test tmp == []
1413

@@ -17,7 +16,6 @@ struct MyTDS <: MT.AbstractSystem
1716
name::Any
1817
systems::Any
1918
end
20-
@test_logs (:warn,) iv=independent_variables(MyTDS(t, "sys", []))
2119
iv = independent_variables(MyTDS(t, "sys", []))
2220
@test all(isequal.(iv, [t]))
2321

@@ -26,6 +24,5 @@ struct MyMVS <: MT.AbstractSystem
2624
name::Any
2725
systems::Any
2826
end
29-
@test_logs (:warn,) ivs=independent_variables(MyMVS([t, x], "sys", []))
3027
ivs = independent_variables(MyMVS([t, x], "sys", []))
3128
@test all(isequal.(ivs, [t, x]))

0 commit comments

Comments
 (0)