test_cfgparser testresult
| cpu-mhz |
1603.696 |
| cpu-model |
AMD Opteron(tm) Processor 242 |
| executable |
py.py |
| execution-time |
115.754708052 |
| exit-status |
1 |
| fspath |
/home/hpk/pypy-dist/lib-python/2.4.1/test/test_cfgparser.py |
| options |
|
| outcome |
ERR |
| platform |
linux2 |
| pypy-revision |
27957 |
| python-version-info |
(2, 4, 2, 'final', 0) |
| startdate |
Thu Jun 1 04:51:34 2006 |
| testreport-version |
1.1 |
| timeout |
1225.0 |
| userhost |
hpk@cen01 |
stdout
test_basic (test.test_cfgparser.ConfigParserTestCase) ... ok
test_boolean (test.test_cfgparser.ConfigParserTestCase) ... ok
test_case_sensitivity (test.test_cfgparser.ConfigParserTestCase) ... ok
test_default_case_sensitivity (test.test_cfgparser.ConfigParserTestCase) ... ok
test_interpolation (test.test_cfgparser.ConfigParserTestCase) ... ok
test_interpolation_missing_value (test.test_cfgparser.ConfigParserTestCase) ... ok
test_items (test.test_cfgparser.ConfigParserTestCase) ... ok
test_parse_errors (test.test_cfgparser.ConfigParserTestCase) ... ok
test_query_errors (test.test_cfgparser.ConfigParserTestCase) ... ok
test_read_returns_file_list (test.test_cfgparser.ConfigParserTestCase) ... ok
test_set_nonstring_types (test.test_cfgparser.ConfigParserTestCase) ... ERROR
test_set_string_types (test.test_cfgparser.ConfigParserTestCase) ... ok
test_weird_errors (test.test_cfgparser.ConfigParserTestCase) ... ok
test_write (test.test_cfgparser.ConfigParserTestCase) ... ok
test_basic (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_boolean (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_case_sensitivity (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_default_case_sensitivity (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_interpolation (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_items (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_parse_errors (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_query_errors (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_read_returns_file_list (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_set_nonstring_types (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_set_string_types (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_weird_errors (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_write (test.test_cfgparser.RawConfigParserTestCase) ... ok
test_basic (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_boolean (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_case_sensitivity (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_default_case_sensitivity (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_interpolation (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_interpolation_missing_value (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_items (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_parse_errors (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_query_errors (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_read_returns_file_list (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_safe_interpolation (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_set_nonstring_types (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_set_string_types (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_weird_errors (test.test_cfgparser.SafeConfigParserTestCase) ... ok
test_write (test.test_cfgparser.SafeConfigParserTestCase) ... ok
======================================================================
ERROR: test_set_nonstring_types (test.test_cfgparser.ConfigParserTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_cfgparser.py", line 350, in test_set_nonstring_types
self.assertRaises(TypeError, cf.get, 'non-string', 'dict')
File "/home/hpk/pypy-dist/lib-python/2.4.1/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/hpk/pypy-dist/lib-python/2.4.1/ConfigParser.py", line 525, in get
return self._interpolate(section, option, value, d)
File "/home/hpk/pypy-dist/lib-python/2.4.1/ConfigParser.py", line 566, in _interpolate
value = self._KEYCRE.sub(self._interpolation_replace, value)
KeyError: 0
----------------------------------------------------------------------
Ran 42 tests in 93.592s
FAILED (errors=1)
stderr
Loading grammar /home/hpk/pypy-dist/pypy/interpreter/pyparser/data/Grammar2.5a
faking <type 'module'>
faking <type 'file'>
faking <type 'posix.stat_result'>
faking <type 'posix.statvfs_result'>
fake-wrapping interp file <open file '<stdout>', mode 'w' at 0x558e5068>
fake-wrapping interp file <open file '<stderr>', mode 'w' at 0x558e50b0>
fake-wrapping interp file <open file '<stdin>', mode 'r' at 0x558e5020>
Traceback (application-level):
File "/home/hpk/pypy-dist/pypy/tool/pytest/run-script/regrverbose.py", line 12 in <module>
indirect_test()
File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_cfgparser.py", line 422 in test_main
SafeConfigParserTestCase
File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_support.py", line 290 in run_unittest
run_suite(suite, testclass)
File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_support.py", line 275 in run_suite
raise TestFailed(err)
TestFailed: Traceback (most recent call last):
File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_cfgparser.py", line 350, in test_set_nonstring_types
self.assertRaises(TypeError, cf.get, 'non-string', 'dict')
File "/home/hpk/pypy-dist/lib-python/2.4.1/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/hpk/pypy-dist/lib-python/2.4.1/ConfigParser.py", line 525, in get
return self._interpolate(section, option, value, d)
File "/home/hpk/pypy-dist/lib-python/2.4.1/ConfigParser.py", line 566, in _interpolate
value = self._KEYCRE.sub(self._interpolation_replace, value)
KeyError: 0