1
0
mirror of https://github.com/django/django.git synced 2025-03-06 15:32:33 +00:00
Mariusz Felisiak 6f7c0a4d66
Fixed ResourceWarning from unclosed SQLite connection in test_utils on Python 3.13+.
On SQLite, close() doesn't explicitly close in-memory connections.

Follow up to 921670c6943e9c532137b7d164885f2d3ab436b8 and
dd45d5223b3c5640baefcb591782bbcff873b6bf.
2024-03-20 11:44:30 +01:00
..
2024-01-26 12:45:07 +01:00
2024-01-26 12:45:07 +01:00
2024-01-26 12:45:07 +01:00

To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::

    $ cd tests
    $ python -m pip install -e ..
    $ python -m pip install -r requirements/py3.txt
    $ ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.