0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/mail
Jon Dufresne 9b9c8c4a81 Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection if an exception occurs.
Fixes unclosed socket ResourceWarning in mail test.

Thanks Claude Paroz for the review.
2016-10-21 05:59:07 -07:00
..
attachments
__init__.py
custombackend.py
test_sendtestemail.py
tests.py Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection if an exception occurs. 2016-10-21 05:59:07 -07:00