From 322c57ad8e481084f0f7f821097bf11fcc0226b0 Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Sun, 26 Jan 2025 11:07:44 +0000 Subject: [PATCH] Shielding info may be string Signed-off-by: Stefan Marr --- rebench/tests/denoise_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebench/tests/denoise_test.py b/rebench/tests/denoise_test.py index ffb222a7..c71978f2 100644 --- a/rebench/tests/denoise_test.py +++ b/rebench/tests/denoise_test.py @@ -12,7 +12,7 @@ def test_minimize(self): result = minimize_noise(False, self.ui, True) self.assertIsInstance(result.succeeded, bool) self.assertIsInstance(result.use_nice, bool) - self.assertIsInstance(result.use_shielding, bool) + self.assertIsInstance(result.use_shielding, (bool, str)) # if it was successful, try to restore normal settings if result.succeeded: