Skip to content

Commit

Permalink
Update tests/strategies.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian authored Jul 27, 2024
1 parent 7545f84 commit 48a8c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def units(draw, *, calendar: str):
dt = draw(st.datetimes())
year, month, day = dt.year, dt.month, dt.day
if calendar == "360_day":
month %= 30
day %= 30
return f"{time_units} since {year}-{month}-{day}"


Expand Down

0 comments on commit 48a8c41

Please sign in to comment.