From 0188e1ab1ccae25dde8864c454c12ec41171a708 Mon Sep 17 00:00:00 2001 From: odow Date: Thu, 26 Oct 2023 15:41:44 +1300 Subject: [PATCH] [Test] allow skipping ScalarFunctionConstantNotZero errors --- src/Test/Test.jl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Test/Test.jl b/src/Test/Test.jl index db45ed653a..fe7d454a0f 100644 --- a/src/Test/Test.jl +++ b/src/Test/Test.jl @@ -309,7 +309,12 @@ macro requires(x) end function _error_handler( - err::Union{MOI.NotAllowedError,MOI.UnsupportedError,RequirementUnmet}, + err::Union{ + MOI.NotAllowedError, + MOI.ScalarFunctionConstantNotZero, + MOI.UnsupportedError, + RequirementUnmet, + }, name::String, warn_unsupported::Bool, )