Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed May 16, 2024
1 parent b9944fd commit 2ce93ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plone/restapi/tests/statictime.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def start(self):
# Patch the lightweight p.a.discussion 'Comment' type. Its dates are
# Python datetimes, unlike DX Content types which use zope DateTimes.
Comment.creation_date = property(
static_creation_date_getter_factory(self.static_created, type_=datetime),
static_creation_date_getter_factory(
self.static_created, type_=datetime
),
nop_setter,
)
Comment.modification_date = property(
Expand Down

0 comments on commit 2ce93ff

Please sign in to comment.