test_dis testresult

cpu-mhz 1603.696
cpu-model AMD Opteron(tm) Processor 242
executable py.py
execution-time 26.8295660019
exit-status 1
fspath /home/hpk/pypy-dist/lib-python/2.4.1/test/test_dis.py
options
outcome ERR
platform linux2
pypy-revision 27957
python-version-info (2, 4, 2, 'final', 0)
startdate Thu Jun 1 06:47:46 2006
testreport-version 1.1
timeout 1296.0
userhost hpk@cen01

stdout

test_boundaries (test.test_dis.DisTests) ... ok
test_bug_708901 (test.test_dis.DisTests) ... FAIL
test_dis (test.test_dis.DisTests) ... FAIL
test_opmap (test.test_dis.DisTests) ... ok
test_opname (test.test_dis.DisTests) ... ok

======================================================================
FAIL: test_bug_708901 (test.test_dis.DisTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_dis.py", line 84, in test_bug_708901
    self.do_disassembly_test(bug708901, dis_bug708901)
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_dis.py", line 66, in do_disassembly_test
    lines)))
AssertionError: events did not match expectation:
   26           0 SETUP_LOOP              23 (to 26)
                3 LOAD_GLOBAL              0 (range)
                6 LOAD_CONST               1 (1)
- 
-  27           9 LOAD_CONST               2 (10)
?  ^^

+               9 LOAD_CONST               2 (10)
?  ^^

               12 CALL_FUNCTION            2
               15 GET_ITER
          >>   16 FOR_ITER                 6 (to 25)
-              19 STORE_FAST               0 (res)
?                                          ^

+              19 STORE_FAST               1 (res)
?                                          ^

  
   28          22 JUMP_ABSOLUTE           16
          >>   25 POP_BLOCK
          >>   26 LOAD_CONST               0 (None)
               29 RETURN_VALUE
  

======================================================================
FAIL: test_dis (test.test_dis.DisTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_dis.py", line 81, in test_dis
    self.do_disassembly_test(_f, dis_f)
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_dis.py", line 66, in do_disassembly_test
    lines)))
AssertionError: events did not match expectation:
   11           0 LOAD_FAST                0 (a)
                3 PRINT_ITEM
                4 PRINT_NEWLINE
  
   12           5 LOAD_CONST               1 (1)
                8 RETURN_VALUE
+               9 LOAD_CONST               0 (None)
+              12 RETURN_VALUE
  

----------------------------------------------------------------------
Ran 5 tests in 10.572s

FAILED (failures=2)

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_dis.py", line 87 in test_main
    run_unittest(DisTests)
  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 274 in run_suite
    raise TestFailed(msg)
TestFailed: errors occurred in test.test_dis.DisTests