#27368: mail.tests.SMTPBackendTests.test_server_login generates ResourceWarning
unclosed socket
------------------------------------------------+------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
{{{
$ python -Wall runtests.py --failfast
mail.tests.SMTPBackendTests.test_server_login
Testing against Django installed in '/home/jon/devel/django/django' with
up to 4 processes
Creating test database for alias 'default'...
Creating test database for alias 'other'...
/usr/lib64/python3.5/socket.py:646: ResourceWarning: unclosed
<socket.socket fd=4, family=AddressFamily.AF_INET,
type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 50632),
raddr=('127.0.0.1', 36317)>
self._sock = None
.
----------------------------------------------------------------------
Ran 1 test in 0.048s
OK
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27368>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.a4922f658038abd4d192f8036932141c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.