mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.7.x] Fixed refs #23987 test on Oracle.
Backport of ac5f2a4ef7b9993502ebc02f487cbb06bfb9bf0a from master
This commit is contained in:
parent
fdf4dc6cea
commit
66c0529b3e
@ -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…
x
Reference in New Issue
Block a user