summaryrefslogtreecommitdiff
path: root/tests/timezones/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-03-17 07:51:48 -0400
committerGitHub <noreply@github.com>2017-03-17 07:51:48 -0400
commit6b4f018b2b3478d2a4a441ed52d43f6268ac89f3 (patch)
tree21a1573a6d8a1e7ee8554adc318174ffda0bf8bd /tests/timezones/tests.py
parente32265de1a68361ea078f49877ccb0f742508728 (diff)
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
Diffstat (limited to 'tests/timezones/tests.py')
-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 586a2a3b47..7c83ffbc47 100644
--- a/tests/timezones/tests.py
+++ b/tests/timezones/tests.py
@@ -217,7 +217,7 @@ class LegacyDatabaseTests(TestCase):
# Regression test for #17755
dt = datetime.datetime(2011, 9, 1, 13, 20, 30)
event = Event.objects.create(dt=dt)
- self.assertSequenceEqual(list(Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt])), [event])
+ self.assertEqual(list(Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt])), [event])
def test_cursor_execute_accepts_naive_datetime(self):
dt = datetime.datetime(2011, 9, 1, 13, 20, 30)