diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index 4f885b407e4..8fb708dc3d7 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -1195,6 +1195,7 @@ class OperationTests(OperationTestBase): operation.database_backwards("test_runsql", editor, new_state, project_state) self.assertTableNotExists("i_love_ponies") + @unittest.skipIf(sqlparse is None and connection.features.requires_sqlparse_for_splitting, "Missing sqlparse") def test_run_sql_params(self): """ #23426 - RunSQL should accept parameters.