[issue22608] test_socket fails with sem_init: Too many open files

2014-10-11 Thread Urs Traber
New submission from Urs Traber: test_socke.py does not clean up its event objects used for synchronization. This may cause multiple such ERRORs (*): testLinebufferedWrite (__main__.LineBufferedFileObjectClassTestCase) ... sem_init: Too many open files ERROR Fixed by setting the allocated

[issue22610] test_ftplib fails with sem_init: Too many open files

2014-10-11 Thread Urs Traber
New submission from Urs Traber: same issue as http://bugs.python.org/issue22608 e.g. test_sanitize (__main__.TestTLS_FTPClassMixin) ... sem_init: Too many open files ERROR Fixed by setting the allocated Event objects to None when not needed anymore. -- components: Tests files