-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
There is a nice invariant we can use Hypothesis to test.
datetime.fromisoformat is the inverse of datetime.isoformat
In other words, for every datetime object, dt, dt == datetime.fromisoformat(dt.isoformat())
Hypothesis can be used to test this invariant, using its "datetimes strategy".
sirajalam049, edgarrmondragon and lafrech
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request