summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-03-21 22:16:31 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-03-21 22:16:31 +0100
commit6993f2886bb9535c6cde95ec0c743f40b40e324e (patch)
tree0027c65c23e87d09371a61be8859704dc2966dd7 /tests
parent051c666acac770dea1af2fc223cc695f985f02f7 (diff)
Fixed typo in comments.
Diffstat (limited to 'tests')
-rw-r--r--tests/timezones/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/timezones/tests.py b/tests/timezones/tests.py
index 4b45ddbb7b..51260fc0f5 100644
--- a/tests/timezones/tests.py
+++ b/tests/timezones/tests.py
@@ -113,7 +113,7 @@ class LegacyDatabaseTests(TestCase):
Event.objects.create(dt=dt)
event = Event.objects.get()
self.assertIsNone(event.dt.tzinfo)
- # django.db.backend.utils.typecast_dt will just drop the
+ # django.db.backends.utils.typecast_dt will just drop the
# timezone, so a round-trip in the database alters the data (!)
# interpret the naive datetime in local time and you get a wrong value
self.assertNotEqual(event.dt.replace(tzinfo=EAT), dt)
@@ -139,7 +139,7 @@ class LegacyDatabaseTests(TestCase):
Event.objects.create(dt=dt)
event = Event.objects.get()
self.assertIsNone(event.dt.tzinfo)
- # django.db.backend.utils.typecast_dt will just drop the
+ # django.db.backends.utils.typecast_dt will just drop the
# timezone, so a round-trip in the database alters the data (!)
# interpret the naive datetime in local time and you get a wrong value
self.assertNotEqual(event.dt.replace(tzinfo=EAT), dt)