Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7437721
D6841.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
532 B
Subscribers
None
D6841.diff
View Options
diff --git a/swh/model/tests/test_model.py b/swh/model/tests/test_model.py
--- a/swh/model/tests/test_model.py
+++ b/swh/model/tests/test_model.py
@@ -197,7 +197,10 @@
# standard types:
(
datetime.datetime,
- [datetime.datetime.now(), datetime.datetime.now(tz=datetime.timezone.utc)],
+ [
+ datetime.datetime(2021, 12, 15, 12, 59, 27),
+ datetime.datetime(2021, 12, 15, 12, 59, 27, tzinfo=datetime.timezone.utc),
+ ],
[None, 123],
),
# ImmutableDict
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 14, 2:31 AM (2 d, 23 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217323
Attached To
D6841: test_model: Fix compatibility with pytest-xdist
Event Timeline
Log In to Comment