New submission from Vajrasky Kok:

$ ./python Lib/test/test_poplib.py
<omitted....>
test_uidl (__main__.TestPOP3_TLSClass) ... ok
test_user (__main__.TestPOP3_TLSClass) ... ok

----------------------------------------------------------------------
Ran 62 tests in 4.994s

OK
/home/ethan/Documents/code/python/cpython3.4/Lib/test/support/__init__.py:1331: 
ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, 
type=2049, proto=6, laddr=('127.0.0.1', 46785), raddr=('127.0.0.1', 55396)>
  gc.collect()


Attached the patch to fix the resource warning.

----------
components: Tests
files: fix_test_poplib_resource_warning.patch
keywords: patch
messages: 204716
nosy: vajrasky
priority: normal
severity: normal
status: open
title: test_poplib emits resource warning
type: resource usage
versions: Python 3.4
Added file: 
http://bugs.python.org/file32886/fix_test_poplib_resource_warning.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19830>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to