Fix implicit-return in season tests (#122784)
parent
ad50136dbd
commit
4ac85829c8
|
@ -70,6 +70,7 @@ def idfn(val):
|
|||
"""Provide IDs for pytest parametrize."""
|
||||
if isinstance(val, (datetime)):
|
||||
return val.strftime("%Y%m%d")
|
||||
return None
|
||||
|
||||
|
||||
@pytest.mark.parametrize(("type", "day", "expected"), NORTHERN_PARAMETERS, ids=idfn)
|
||||
|
|
Loading…
Reference in New Issue