Message153935
| Author |
skrah |
| Recipients |
brett.cannon, pitrou, skrah |
| Date |
2012年02月22日.08:37:46 |
| SpamBayes Score |
7.931822e-12 |
| Marked as misclassified |
No |
| Message-id |
<1329899868.11.0.386279986218.issue14084@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|