Skip to content

Commit 9e50a55

Browse files
zkoppertCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]> Signed-off-by: Zack Koppert <[email protected]>
1 parent 1f75b43 commit 9e50a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_time_in_draft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def test_time_in_draft_with_iterator_events(self):
211211
(as it does in the real GitHub API), which can only be consumed once.
212212
"""
213213
# Set up issue created_at time
214-
self.issue.issue.created_at = "2021-01-01T00:00:00Z"
214+
self.issue.issue.created_at = datetime(2021, 1, 1, tzinfo=pytz.utc)
215215

216216
# Create an iterator of events (simulating real GitHub API behavior)
217217
def events_iterator():

0 commit comments

Comments
 (0)