From d306e794b727137e9136ad5e0926b547304029be Mon Sep 17 00:00:00 2001 From: swryan Date: Tue, 7 May 2024 09:09:39 -0400 Subject: [PATCH] fix skip message --- tests/test_user_termination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_user_termination.py b/tests/test_user_termination.py index a857a9f1..9aa4a980 100644 --- a/tests/test_user_termination.py +++ b/tests/test_user_termination.py @@ -126,7 +126,7 @@ def test_sens(self, optName): try: opt = OPT(optName, options=optOptions) except ImportError: - raise unittest.SkipTest("Optimizer not available: SNOPT") + raise unittest.SkipTest(f"Optimizer not available: {optName}") sol = opt(optProb, sens=termcomp.sens)