From ac5f2a4ef7b9993502ebc02f487cbb06bfb9bf0a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 15 Dec 2014 18:15:55 -0500 Subject: [PATCH] Fixed refs #23987 test on Oracle. --- tests/schema/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/schema/tests.py b/tests/schema/tests.py index ee93de8596..53e67b5647 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -1196,4 +1196,4 @@ class SchemaTests(TransactionTestCase): with connection.cursor() as cursor: cursor.execute("SELECT surname FROM schema_author;") item = cursor.fetchall()[0] - self.assertEqual(item[0], '') + self.assertEqual(item[0], None if connection.features.interprets_empty_strings_as_nulls else '')