From 62df1834b8d60c106c8c16524b275b8a1f47ac3a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 31 Jan 2015 14:20:36 -0500 Subject: [PATCH] Fixed expressions test on Python 3.5; refs #23763. --- tests/expressions/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index f7e8cae856..cce1253e3f 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -830,7 +830,7 @@ class ReprTests(TestCase): ) self.assertEqual(repr(Col('alias', 'field')), "Col(alias, field)") self.assertEqual(repr(Date('published', 'exact')), "Date(published, exact)") - self.assertEqual(repr(DateTime('published', 'exact', utc)), "DateTime(published, exact, UTC)") + self.assertEqual(repr(DateTime('published', 'exact', utc)), "DateTime(published, exact, %s)" % utc) self.assertEqual(repr(F('published')), "F(published)") self.assertEqual(repr(F('cost') + F('tax')), "") self.assertEqual(repr(Func('published', function='TO_CHAR')), "Func(F(published), function=TO_CHAR)")