Skip to content

Commit 85ca282

Browse files
auvipyCopilot
andauthored
Update tests/test_renderers.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 29e41f1 commit 85ca282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_renderers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def test_datetime_field_rendering(self):
494494
class TestSerializer(serializers.Serializer):
495495
appointment = serializers.DateTimeField()
496496

497-
appointment = datetime(2024, 12, 24, 00, 55, 30, 345678)
497+
appointment = datetime(2024, 12, 24, 0, 55, 30, 345678)
498498
serializer = TestSerializer(data={"appointment": appointment})
499499
serializer.is_valid()
500500
renderer = HTMLFormRenderer()

0 commit comments

Comments
 (0)