| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-06-16 | Fixed #36380 -- Deferred SQL formatting when running tests with --debug-sql. | Natalia | |
| Thanks to Jacob Walls for the report and previous iterations of this fix, to Simon Charette for the logging formatter idea, and to Tim Graham for testing and ensuring that 3rd party backends remain compatible. This partially reverts d8f093908c504ae0dbc39d3f5231f7d7920dde37. Refs #36112, #35448. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | |||
| 2025-01-20 | Fixed #36005 -- Dropped support for Python 3.10 and 3.11. | Mariusz Felisiak | |
| 2025-01-18 | Fixed #35448 -- Fixed formatting of test --debug-sql output. | Tim Graham | |
| Also adds DatabaseOperations.format_debug_sql() hook for backends (e.g. NoSQL) to customize formatting. | |||
| 2022-10-24 | Fixed #34111 -- Made test runner with --debug-sql format SQL queries. | Giebisch | |
| 2022-04-07 | Refs #33173 -- Fixed test_runner/test_utils tests on Python 3.11+. | Mariusz Felisiak | |
| Python 3.11 uses fully qualified test name in unittest output. See https://github.com/python/cpython/commit/755be9b1505af591b9f2ee424a6525b6c2b65ce9 | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2020-11-28 | Fixed #32227 -- Prevented crash when setUpTestData() errors with --debug-sql. | Adam Johnson | |
| Thanks Mariusz Felisiak for the report. | |||
| 2017-09-25 | Fixed #27857 -- Dropped support for Python 3.4. | Tim Graham | |
| 2017-07-05 | Fixed #28360 -- Fixed test runner crash with --debug-sql on fail/error in ↵ | Sergey Fedoseev | |
| subTest. | |||
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2015-09-17 | Refs #14091 -- Fixed connection.queries on SQLite. | Aymeric Augustin | |
| 2015-09-14 | Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*'). | Adam Chainz | |
| 2015-02-17 | Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵ | Tim Graham | |
| contains non-ASCII characters. | |||
| 2015-01-23 | Fixed test_runner test failure on Python 3.5; refs #23763. | Tim Graham | |
| Python change is http://bugs.python.org/issue22032 | |||
| 2015-01-12 | Fixed #24118 -- Added --debug-sql option for tests. | Marc Tamlyn | |
| Added a --debug-sql option for tests and runtests.py which outputs the SQL logger for failing tests. When combined with --verbosity=2, it also outputs the SQL for passing tests. Thanks to Berker, Tim, Markus, Shai, Josh and Anssi for review and discussion. | |||
