diff --git a/tests/test_timeliness.py b/tests/test_timeliness.py index afe0daa09..7f5a9e628 100644 --- a/tests/test_timeliness.py +++ b/tests/test_timeliness.py @@ -10,6 +10,7 @@ def test_short_month(): - month_strings = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'] - for index,s in enumerate(month_strings): - assert timeliness.short_month('01-{:02d}-2024'.format(index+1)) == s + month_strings = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] + for index, s in enumerate(month_strings): + assert timeliness.short_month('01-{:02d}-2024'.format(index + 1)) == s