1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Corrected typo in test docstring.

This commit is contained in:
Jon Dufresne 2020-02-20 00:12:10 -08:00 committed by GitHub
parent 94d1d4a71b
commit f02c1fcf4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2958,7 +2958,7 @@ class SchemaTests(TransactionTestCase):
def test_add_datefield_and_datetimefield_use_effective_default(self, mocked_datetime, mocked_tz):
"""
effective_default() should be used for DateField, DateTimeField, and
TimeField if auto_now or auto_add_now is set (#25005).
TimeField if auto_now or auto_now_add is set (#25005).
"""
now = datetime.datetime(month=1, day=1, year=2000, hour=1, minute=1)
now_tz = datetime.datetime(month=1, day=1, year=2000, hour=1, minute=1, tzinfo=timezone.utc)