Loading tests/schema/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -1203,4 +1203,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 '') Loading
tests/schema/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -1203,4 +1203,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 '')