summaryrefslogtreecommitdiff
path: root/tests/timezones
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2016-06-16 11:19:18 -0700
committerTim Graham <timograham@gmail.com>2016-06-16 14:19:18 -0400
commit4f336f66523001b009ab038b10848508fd208b3b (patch)
tree47474fb588013f1770246455ef7aa1a4163a1edb /tests/timezones
parentea34426ae789d31b036f58c8fd59ce299649e91e (diff)
downloaddjango-4f336f66523001b009ab038b10848508fd208b3b.tar.gz
Fixed #26747 -- Used more specific assertions in the Django test suite.
Diffstat (limited to 'tests/timezones')
-rw-r--r--tests/timezones/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timezones/tests.py b/tests/timezones/tests.py
index df9ac424c6..13a19cc58d 100644
--- a/tests/timezones/tests.py
+++ b/tests/timezones/tests.py
@@ -588,7 +588,7 @@ class NewDatabaseTests(TestCase):
def test_null_datetime(self):
# Regression test for #17294
e = MaybeEvent.objects.create()
- self.assertEqual(e.dt, None)
+ self.assertIsNone(e.dt)
@override_settings(TIME_ZONE='Africa/Nairobi', USE_TZ=True)