Skip to content

Commit

Permalink
Shielding info may be string
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jan 26, 2025
1 parent b30e2f7 commit 23c3670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebench/tests/denoise_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 23c3670

Please sign in to comment.