From 269e591677eafe53e193af526bcc4b3f150d7641 Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Sun, 25 Aug 2024 01:50:19 +0100 Subject: [PATCH] fix: mypy issue in tests on 3.11 --- tests/test_configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_configuration.py b/tests/test_configuration.py index b94e57e4..0720e751 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -19,7 +19,7 @@ def floor(num: int, expected: AtRender[bool]) -> int: """Converts int/float to int.""" from dewret.tasks import get_configuration if get_configuration("flatten_all_nested") != expected: - raise AssertionError(f"Not expected configuration: {get_configuration('flatten_all_nested')} != {expected}") + raise AssertionError(f"Not expected configuration: {str(get_configuration('flatten_all_nested'))} != {expected}") return increment(num=num) def test_cwl_with_parameter(configuration) -> None: