Skip to content

Commit

Permalink
fix: mypy issue in tests on 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Aug 25, 2024
1 parent 0c45e51 commit 269e591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 269e591

Please sign in to comment.