XZise created this task. XZise added a subscriber: XZise. XZise added projects: pywikibot-core, Pywikibot-tests. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION When doing `python -m unittest tests.pagegenerators_tests.TestFactoryGeneratorWikibase` or `python -m unittest tests.pagegenerators_tests.TestFactoryGenerator` in Python 3.4.2 I got:
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET6, type=2049, proto=6, laddr=('…', 43038, 0, 0), raddr=('2620:0:862:ed1a::1', 443, 0, 0)> sys:1: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET6, type=2049, proto=6, laddr=('…', 52315, 0, 0), raddr=('2620:0:862:ed1a::1', 80, 0, 0)>
But I don't get the result every time so maybe it's also happening in other tests or is a more general “problem”. Although I haven't seen it when I do `python setup.py test` so maybe that is doing the clean up properly?
TASK DETAIL https://phabricator.wikimedia.org/T89116
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb