Message153935
I tried to reproduce the failure from #14080 using this:
./python -m test -uall -v -F test_imp
After around 500 iterations the test fails:
======================================================================
ERROR: test_find_module_encoding (test.test_imp.ImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stefan/pydev/cpython/Lib/test/test_imp.py", line 58, in test_find_module_encoding
with imp.find_module('module_' + mod, self.test_path)[0] as fd:
OSError: [Errno 24] Too many open files
======================================================================
ERROR: test_issue1267 (test.test_imp.ImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stefan/pydev/cpython/Lib/test/test_imp.py", line 70, in test_issue1267
self.test_path)
OSError: [Errno 24] Too many open files
======================================================================
ERROR: test_issue3594 (test.test_imp.ImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stefan/pydev/cpython/Lib/test/test_imp.py", line 92, in test_issue3594
file, filename, info = imp.find_module(temp_mod_name)
OSError: [Errno 24] Too many open files
======================================================================
ERROR: test_issue9319 (test.test_imp.ImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stefan/pydev/cpython/Lib/test/test_imp.py", line 182, in test_issue9319
imp.find_module, "badsyntax_pep3120", [path])
File "/home/stefan/pydev/cpython/Lib/unittest/case.py", line 571, in assertRaises
return context.handle('assertRaises', callableObj, args, kwargs)
File "/home/stefan/pydev/cpython/Lib/unittest/case.py", line 135, in handle
callable_obj(*args, **kwargs)
OSError: [Errno 24] Too many open files |
|
Date |
User |
Action |
Args |
2012-02-22 08:37:48 | skrah | set | recipients:
+ skrah, brett.cannon, pitrou |
2012-02-22 08:37:48 | skrah | set | messageid: <1329899868.11.0.386279986218.issue14084@psf.upfronthosting.co.za> |
2012-02-22 08:37:47 | skrah | link | issue14084 messages |
2012-02-22 08:37:46 | skrah | create | |
|