diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-15 18:15:55 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-15 18:20:41 -0500 |
| commit | 66c0529b3edb40e25713cbf32ea8794befc829ae (patch) | |
| tree | e1b322587854bd9906db11347f6ab49e1bbbdcee /tests | |
| parent | fdf4dc6cea0cdfea061f2d72a368adf6a8d24157 (diff) | |
[1.7.x] Fixed refs #23987 test on Oracle.
Backport of ac5f2a4ef7b9993502ebc02f487cbb06bfb9bf0a from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/schema/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index eb46b38e48..077c41611f 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -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 '') |
