We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 813e067 commit a6f93cbCopy full SHA for a6f93cb
1 file changed
src/Test/Test.jl
@@ -404,11 +404,7 @@ function _test_attribute_value_type(
404
attribute::Union{MOI.AbstractModelAttribute,MOI.AbstractOptimizerAttribute},
405
)
406
T = MOI.attribute_value_type(attribute)
407
- @static if VERSION < v"1.5"
408
- @test MOI.get(model, attribute) isa T
409
- else
410
- @test @inferred(T, MOI.get(model, attribute)) isa T
411
- end
+ @test MOI.get(model, attribute) isa T
412
return
413
end
414
0 commit comments