Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394509
D8134.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
434 B
Subscribers
None
D8134.diff
View Options
diff --git a/swh/model/hypothesis_strategies.py b/swh/model/hypothesis_strategies.py
--- a/swh/model/hypothesis_strategies.py
+++ b/swh/model/hypothesis_strategies.py
@@ -133,7 +133,7 @@
).timestamp()
defaults = dict(
seconds=integers(min_seconds, max_seconds),
- microseconds=integers(0, 1000000),
+ microseconds=integers(0, 1000000 - 1),
)
return builds(dict, **{**defaults, **kwargs})
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 3 2025, 7:25 PM (9 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228055
Attached To
D8134: hypothesis_strategies: Prevent generation of invalid 'microseconds' values
Event Timeline
Log In to Comment