diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2016-06-16 11:19:18 -0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-06-16 14:19:18 -0400 |
commit | 4f336f66523001b009ab038b10848508fd208b3b (patch) | |
tree | 47474fb588013f1770246455ef7aa1a4163a1edb /tests/timezones | |
parent | ea34426ae789d31b036f58c8fd59ce299649e91e (diff) | |
download | django-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.py | 2 |
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) |