summaryrefslogtreecommitdiff
path: root/tests/model_options
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2016-05-24 15:25:05 -0400
committerSimon Charette <charette.s@gmail.com>2017-06-21 00:03:31 -0400
commit3b429c96736b8328c40e5d77282b0d30de563c3c (patch)
treedf8c5c649cdd24d1d410133d0b0abf638b6876ea /tests/model_options
parentea91ad4c131816fd0ea8d5f1bfb21b7abd82b47e (diff)
Refs #25530 -- Tracked references of deferred SQL statements.
Diffstat (limited to 'tests/model_options')
-rw-r--r--tests/model_options/test_tablespaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_options/test_tablespaces.py b/tests/model_options/test_tablespaces.py
index 03a137603b..79b0a8bb75 100644
--- a/tests/model_options/test_tablespaces.py
+++ b/tests/model_options/test_tablespaces.py
@@ -15,7 +15,7 @@ def sql_for_table(model):
def sql_for_index(model):
- return '\n'.join(connection.schema_editor()._model_indexes_sql(model))
+ return '\n'.join(str(sql) for sql in connection.schema_editor()._model_indexes_sql(model))
# We can't test the DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE settings