-
- GLOB sdist-make: /home/cfbolz/projects/misc/pdb/setup.py
- py27 inst-nodeps: /home/cfbolz/projects/misc/pdb/.tox/dist/pdbpp-0.9.3.dev6+gb7e789b.d20180320.zip
- py27 installed: attrs==17.4.0,fancycompleter==0.8,funcsigs==1.0.2,pdbpp==0.9.3.dev6+gb7e789b.d20180320,pluggy==0.6.0,py==1.5.2,Pygments==2.2.0,pyrepl==0.8.4,pytest==3.4.2,six==1.11.0,wmctrl==0.3
- py27 runtests: PYTHONHASHSEED='3813065816'
- py27 runtests: commands[0] | py.test
- =========================================================================================== test session starts ============================================================================================
- platform linux2 -- Python 2.7.14, pytest-3.4.2, py-1.5.2, pluggy-0.6.0
- rootdir: /home/cfbolz/projects/misc/pdb, inifile: pytest.ini
- collected 122 items
-
- testing/test_pdb.py FFFFFFFFF......................................................................FFFFFFF....FFFFFFFFF.FF.FFFFF..FFFFssFFFF.F [100%]
-
- ================================================================================================= FAILURES =================================================================================================
- _______________________________________________________________________________________________ test_runpdb ________________________________________________________________________________________________
- testing/test_pdb.py:186: in test_runpdb
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(171)fn()
- -> a = 1 | -> a = 1
- # n | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
- -> b = 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(172)fn() <<<<<
- # n | -> b = 2 <<<<<
- \[ *[0-9]*\] > .*fn\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
- -> c = 3 | # n <<<<<
- # c | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(173)fn() <<<<<
- _________________________________________________________________________________ test_set_trace_remembers_previous_state __________________________________________________________________________________
- testing/test_pdb.py:212: in test_set_trace_remembers_previous_state
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(192)fn()
- -> a = 2 | -> a = 2
- # display a | 5 frames hidden (try 'help hidden_frames') <<<<<
- # c | # display a <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # c <<<<<
- -> a = 3 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(194)fn() <<<<<
- a: 1 --> 2 | -> a = 3 <<<<<
- # c | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*fn\(\) | a: 1 --> 2 <<<<<
- -> a = 4 | # c <<<<<
- a: 2 --> 3 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(196)fn() <<<<<
- # c | -> a = 4 <<<<<
- ________________________________________________________________________________________ test_single_question_mark _________________________________________________________________________________________
- testing/test_pdb.py:238: in test_single_question_mark
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(220)fn()
- -> a = 1 | -> a = 1
- # f2 | 5 frames hidden (try 'help hidden_frames') <<<<<
- <function .*f2 at .*> | # f2 <<<<<
- # f2? | <function f2 at 0x7f9293bac8c0> <<<<<
- .*Type:.*function | # f2? <<<<<
- .*String Form:.*<function .*f2 at .*> | Type: function <<<<<
- .*File:.*test_pdb.py | String Form: <function f2 at 0x7f9293bac8c0> <<<<<
- .*Definition:.*f2\(x, y\) | File: /home/cfbolz/projects/misc/pdb/testing/test_pdb.py <<<<<
- .*Docstring:.*Return product of x and y | Definition: f2(x, y) <<<<<
- # c | Docstring: Return product of x and y <<<<<
- ________________________________________________________________________________________ test_double_question_mark _________________________________________________________________________________________
- testing/test_pdb.py:267: in test_double_question_mark
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(246)fn()
- -> a = 1 | -> a = 1
- # f2 | 5 frames hidden (try 'help hidden_frames') <<<<<
- <function .*f2 at .*> | # f2 <<<<<
- # f2?? | <function f2 at 0x7f9293bac6e0> <<<<<
- .*Type:.*function | # f2?? <<<<<
- .*String Form:.*<function .*f2 at .*> | Type: function <<<<<
- .*File:.*test_pdb.py | String Form: <function f2 at 0x7f9293bac6e0> <<<<<
- .*Definition:.*f2\(x, y\) | File: /home/cfbolz/projects/misc/pdb/testing/test_pdb.py <<<<<
- .*Docstring:.*Return product of x and y | Definition: f2(x, y) <<<<<
- .*Source:.* | Docstring: Return product of x and y <<<<<
- .* def f2\(x, y\): | Source: <<<<<
- .* """Return product of x and y""" | 242 def f2(x, y): <<<<<
- .* return x \* y | 243 """Return product of x and y""" <<<<<
- # c | 244 return x * y <<<<<
- ____________________________________________________________________________________________ test_up_local_vars ____________________________________________________________________________________________
- testing/test_pdb.py:286: in test_up_local_vars
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*nested\(\) | [35] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(272)nested()
- -> return | -> return
- # up | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # up <<<<<
- -> nested\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(275)fn() <<<<<
- # xx | -> nested() <<<<<
- 42 | # xx <<<<<
- # c | 42 <<<<<
- ________________________________________________________________________________________________ test_frame ________________________________________________________________________________________________
- testing/test_pdb.py:304: in test_frame
- """.format(frame_num_a=count_frames() + 2))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*c\(\) | [36] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(295)c()
- -> return | -> return
- # f 39 | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*a\(\) | # f 39 <<<<<
- -> b\(\) | *** Out of range <<<<<
- # c | # c
- _____________________________________________________________________________________________ test_up_down_arg _____________________________________________________________________________________________
- testing/test_pdb.py:325: in test_up_down_arg
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*c\(\) | [36] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(313)c()
- -> return | -> return
- # up 3 | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*runpdb\(\) | # up 3 <<<<<
- -> func\(\) | [33] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(93)runpdb() <<<<<
- # down 1 | -> func() <<<<<
- \[ *[0-9]*\] > .*a\(\) | # down 1 <<<<<
- -> b\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(308)a() <<<<<
- # c | -> b() <<<<<
- ______________________________________________________________________________________________ test_parseline ______________________________________________________________________________________________
- testing/test_pdb.py:347: in test_parseline
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(331)fn()
- -> return c | -> return c
- # c | 5 frames hidden (try 'help hidden_frames') <<<<<
- 42 | # c <<<<<
- # !c | 42 <<<<<
- 42 | # !c <<<<<
- # r = 5 | 42 <<<<<
- # r | # r = 5
- 5 | # r <<<<<
- # r = 6 | 5 <<<<<
- # r | # r = 6
- 6 | # r <<<<<
- # !!c | 6 <<<<<
- ______________________________________________________________________________________________ test_args_name ______________________________________________________________________________________________
- testing/test_pdb.py:361: in test_args_name
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(353)fn()
- -> return args | -> return args
- # args | 5 frames hidden (try 'help hidden_frames') <<<<<
- 42 | # args <<<<<
- # c | 42 <<<<<
- ______________________________________________________________________________________________ test_shortlist ______________________________________________________________________________________________
- testing/test_pdb.py:471: in test_shortlist
- """.format(line_num=fn.__code__.co_firstlineno))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(460)fn()
- -> return a | -> return a
- # l 457, 3 | 5 frames hidden (try 'help hidden_frames') <<<<<
- *[0-9]* def fn\(\): | # l 457, 3 <<<<<
- *[0-9]* a = 1 | 457 def fn(): <<<<<
- *[0-9]* set_trace\(Config=ConfigTest\) | 458 a = 1 <<<<<
- *[0-9]* -> return a | 459 set_trace(Config=ConfigTest) <<<<<
- # c | 460 -> return a <<<<<
- ______________________________________________________________________________________________ test_longlist _______________________________________________________________________________________________
- testing/test_pdb.py:488: in test_longlist
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(477)fn()
- -> return a | -> return a
- # ll | 5 frames hidden (try 'help hidden_frames') <<<<<
- *[0-9]* def fn\(\): | # ll <<<<<
- *[0-9]* a = 1 | 474 def fn(): <<<<<
- *[0-9]* set_trace\(\) | 475 a = 1 <<<<<
- *[0-9]* -> return a | 476 set_trace() <<<<<
- # c | 477 -> return a <<<<<
- _______________________________________________________________________________________________ test_display _______________________________________________________________________________________________
- testing/test_pdb.py:515: in test_display
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(494)fn()
- -> b = 1 | -> b = 1
- # display a | 5 frames hidden (try 'help hidden_frames') <<<<<
- # n | # display a <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
- -> a = 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(495)fn() <<<<<
- # n | -> a = 2 <<<<<
- \[ *[0-9]*\] > .*fn\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
- -> a = 3 | # n <<<<<
- a: 1 --> 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(496)fn() <<<<<
- # undisplay a | -> a = 3 <<<<<
- # n | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*fn\(\) | a: 1 --> 2 <<<<<
- -> return a | # undisplay a <<<<<
- # c | # n <<<<<
- __________________________________________________________________________________________ test_display_undefined __________________________________________________________________________________________
- testing/test_pdb.py:532: in test_display_undefined
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(520)fn()
- -> b = 42 | -> b = 42
- # display b | 5 frames hidden (try 'help hidden_frames') <<<<<
- # n | # display b <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
- -> return b | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(521)fn() <<<<<
- b: <undefined> --> 42 | -> return b <<<<<
- # c | 5 frames hidden (try 'help hidden_frames') <<<<<
- _______________________________________________________________________________________________ test_sticky ________________________________________________________________________________________________
- testing/test_pdb.py:570: in test_sticky
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(537)fn()
- -> a = 1 | -> a = 1
- # sticky | 5 frames hidden (try 'help hidden_frames') <<<<<
- \\[2J\\[1\;1H>.* | # sticky <<<<<
- |
- > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(537)
- *[0-9]* def fn\(\): | <<<<<
- *[0-9]* set_trace\(\) | 535 def fn(): <<<<<
- *[0-9]* -> a = 1 | 536 set_trace() <<<<<
- *[0-9]* b = 2 | 537 -> a = 1 <<<<<
- *[0-9]* c = 3 | 538 b = 2 <<<<<
- *[0-9]* return a | 539 c = 3 <<<<<
- # n | 540 return a <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
- -> b = 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(538)fn() <<<<<
- \\[2J\\[1\;1H>.* | -> b = 2 <<<<<
- | 5 frames hidden (try 'help hidden_frames')
- *[0-9]* def fn\(\): |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(538) <<<<<
- *[0-9]* set_trace\(\) | <<<<<
- *[0-9]* a = 1 | 535 def fn(): <<<<<
- *[0-9]* -> b = 2 | 536 set_trace() <<<<<
- *[0-9]* c = 3 | 537 a = 1 <<<<<
- *[0-9]* return a | 538 -> b = 2 <<<<<
- # sticky | 539 c = 3 <<<<<
- # n | 540 return a <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # sticky <<<<<
- -> c = 3 | # n <<<<<
- # c | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(539)fn() <<<<<
- ____________________________________________________________________________________________ test_sticky_range _____________________________________________________________________________________________
- testing/test_pdb.py:593: in test_sticky_range
- """ % (start, end, start))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(575)fn()
- -> a = 1 | -> a = 1
- # sticky 574 576 | 5 frames hidden (try 'help hidden_frames') <<<<<
- \\[2J\\[1\;1H>.* | # sticky 574 576 <<<<<
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(575)
- 574 set_trace\(\) | <<<<<
- *[0-9]* -> a = 1 | 574 set_trace() <<<<<
- *[0-9]* b = 2 | 575 -> a = 1 <<<<<
- # c | 576 b = 2 <<<<<
- __________________________________________________________________________________________ test_sticky_by_default __________________________________________________________________________________________
- testing/test_pdb.py:619: in test_sticky_by_default
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(602)fn()
- -> a = 1 | -> a = 1
- \\[2J\\[1\;1H>.* | 5 frames hidden (try 'help hidden_frames') <<<<<
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(602)
- *[0-9]* def fn\(\): | <<<<<
- *[0-9]* set_trace\(Config=MyConfig\) | 600 def fn(): <<<<<
- *[0-9]* -> a = 1 | 601 set_trace(Config=MyConfig) <<<<<
- *[0-9]* b = 2 | 602 -> a = 1 <<<<<
- *[0-9]* c = 3 | 603 b = 2 <<<<<
- *[0-9]* return a | 604 c = 3 <<<<<
- # c | 605 return a <<<<<
- ___________________________________________________________________________________________ test_py_code_source ____________________________________________________________________________________________
- testing/test_pdb.py:727: in test_py_code_source
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > <0-codegen /home/cfbolz/projects/misc/pdb/testing/test_pdb.py:717>(5)fn()
- -> return x | -> return x
- # ll | 5 frames hidden (try 'help hidden_frames') <<<<<
- *[0-9]* def fn\(\): | # ll <<<<<
- *[0-9]* x = 42 | 2 def fn(): <<<<<
- *[0-9]* set_trace\(\) | 3 x = 42 <<<<<
- *[0-9]* -> return x | 4 set_trace() <<<<<
- # c | 5 -> return x <<<<<
- _______________________________________________________________________________________________ test_source ________________________________________________________________________________________________
- testing/test_pdb.py:743: in test_source
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(734)fn()
- -> return bar\(\) | -> return bar()
- # source bar | 5 frames hidden (try 'help hidden_frames') <<<<<
- *[0-9]* def bar\(\): | # source bar <<<<<
- *[0-9]* return 42 | 730 def bar(): <<<<<
- # c | 731 return 42 <<<<<
- _____________________________________________________________________________________________ test_bad_source ______________________________________________________________________________________________
- testing/test_pdb.py:756: in test_bad_source
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(748)fn()
- -> return 42 | -> return 42
- # source 42 | 5 frames hidden (try 'help hidden_frames') <<<<<
- \*\* Error: .* is not a module, class, method, function, traceback, frame, or code object \*\* | # source 42 <<<<<
- # c | ** Error: 42 is not a module, class, method, function, traceback, frame, or code object ** <<<<<
- ________________________________________________________________________________________________ test_edit _________________________________________________________________________________________________
- testing/test_pdb.py:779: in test_edit
- """ % (return42_lineno, filename))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(761)fn()
- -> return 42 | -> return 42
- # edit | 5 frames hidden (try 'help hidden_frames') <<<<<
- RUN emacs \+761 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' | # edit <<<<<
- # c | RUN emacs +761 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' <<<<<
- ______________________________________________________________________________________________ test_edit_obj _______________________________________________________________________________________________
- testing/test_pdb.py:811: in test_edit_obj
- """ % (bar_lineno, filename))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(797)fn()
- -> return 42 | -> return 42
- # edit bar | 5 frames hidden (try 'help hidden_frames') <<<<<
- RUN emacs \+798 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' | # edit bar <<<<<
- # c | RUN emacs +798 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' <<<<<
- _________________________________________________________________________________________ test_edit_py_code_source _________________________________________________________________________________________
- testing/test_pdb.py:835: in test_edit_py_code_source
- """ % (src_compile_lineno, filename))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*bar\(\) | [34] > <1-codegen /home/cfbolz/projects/misc/pdb/testing/test_pdb.py:821>(4)bar()
- -> return 42 | -> return 42
- # edit bar | 5 frames hidden (try 'help hidden_frames') <<<<<
- RUN emacs \+821 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' | # edit bar <<<<<
- # c | RUN emacs +821 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' <<<<<
- _________________________________________________________________________________________________ test_put _________________________________________________________________________________________________
- testing/test_pdb.py:856: in test_put
- """ % start_lineno)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(841)fn()
- -> return 42 | -> return 42
- # x = 10 | 5 frames hidden (try 'help hidden_frames') <<<<<
- # y = 12 | # x = 10 <<<<<
- # put | # y = 12 <<<<<
- RUN epaste \+840 | # put <<<<<
- x = 10 | RUN epaste +840 <<<<<
- y = 12 | x = 10 <<<<<
- | y = 12
- # c | <<<<<
- ________________________________________________________________________________________________ test_paste ________________________________________________________________________________________________
- testing/test_pdb.py:879: in test_paste
- """ % start_lineno)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(863)fn()
- -> if 4 != 5: g\(\) | -> if 4 != 5: g()
- # g\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
- hello world | # g() <<<<<
- # paste g\(\) | hello world <<<<<
- hello world | # paste g() <<<<<
- RUN epaste \+862 | hello world <<<<<
- hello world | RUN epaste +862 <<<<<
- | hello world
- # c | <<<<<
- _______________________________________________________________________________________________ test_put_if ________________________________________________________________________________________________
- testing/test_pdb.py:902: in test_put_if
- """ % start_lineno)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(887)fn()
- -> return x | -> return x
- # x = 10 | 5 frames hidden (try 'help hidden_frames') <<<<<
- # y = 12 | # x = 10 <<<<<
- # put | # y = 12 <<<<<
- RUN epaste \+886 | # put <<<<<
- x = 10 | RUN epaste +886 <<<<<
- y = 12 | x = 10 <<<<<
- | y = 12
- # c | <<<<<
- ________________________________________________________________________________________ test_put_side_effects_free ________________________________________________________________________________________
- testing/test_pdb.py:933: in test_put_side_effects_free
- """ % start_lineno)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(916)fn()
- -> return 42 | -> return 42
- # x | 5 frames hidden (try 'help hidden_frames') <<<<<
- 10 | # x <<<<<
- # x.__add__ | 10 <<<<<
- .* | # x.__add__
- # y = 12 | <method-wrapper '__add__' of int object at 0x55d67e5d34c0> <<<<<
- # put | # y = 12 <<<<<
- RUN epaste \+915 | # put <<<<<
- y = 12 | RUN epaste +915 <<<<<
- | y = 12
- # c | <<<<<
- ___________________________________________________________________________________________ test_enable_disable ____________________________________________________________________________________________
- testing/test_pdb.py:951: in test_enable_disable
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(943)fn()
- -> return x | -> return x
- # x | 5 frames hidden (try 'help hidden_frames') <<<<<
- 2 | # x <<<<<
- # c | 2 <<<<<
- _________________________________________________________________________________________ test_hide_hidden_frames __________________________________________________________________________________________
- testing/test_pdb.py:985: in test_hide_hidden_frames
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(965)fn()
- -> g\(\) | -> g()
- 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
- # down | # down
- ... Newest frame | *** Newest frame
- # hf_unhide | # hf_unhide
- # down | # down
- \[ *[0-9]*\] > .*g\(\) | [40] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(963)g()
- -> return 'foo' | -> return 'foo'
- # up | # up
- \[ *[0-9]*\] > .*fn\(\) | [39] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(965)fn()
- -> g\(\) | -> g()
- # hf_hide | # hf_hide
- # down | # down
- ... Newest frame | *** Newest frame
- # c | # c
- _________________________________________________________________________________________ test_hide_current_frame __________________________________________________________________________________________
- testing/test_pdb.py:1008: in test_hide_current_frame
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(993)fn()
- -> g\(\) | -> g()
- 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
- # hf_unhide | # hf_unhide
- # down | # down
- \[ *[0-9]*\] > .*g\(\) | [40] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(991)g()
- -> return 'foo' | -> return 'foo'
- # hf_hide | # hf_hide
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(993)fn()
- -> g\(\) | -> g()
- # c | # c
- _________________________________________________________________________________________ test_list_hidden_frames __________________________________________________________________________________________
- testing/test_pdb.py:1031: in test_list_hidden_frames
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1019)fn()
- -> k\(\) | -> k()
- 2 frames hidden .* | 7 frames hidden (try 'help hidden_frames') <<<<<
- # hf_list | # hf_list
- .*k\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- -> return g\(\) | -> res = hook_impl.function(*args) <<<<<
- .*g\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- -> return 'foo' | -> res = hook_impl.function(*args) <<<<<
- # c | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- ________________________________________________________________________________________ test_hidden_pytest_frames _________________________________________________________________________________________
- testing/test_pdb.py:1056: in test_hidden_pytest_frames
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1043)fn()
- -> k\(\) | -> k()
- 2 frames hidden .* | 7 frames hidden (try 'help hidden_frames') <<<<<
- # hf_list | # hf_list
- .*k\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- -> return g\(\) | -> res = hook_impl.function(*args) <<<<<
- .*g\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- -> return 'foo' | -> res = hook_impl.function(*args) <<<<<
- # c | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- _______________________________________________________________________________________ test_hidden_unittest_frames ________________________________________________________________________________________
- testing/test_pdb.py:1075: in test_hidden_unittest_frames
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1065)fn()
- -> return g\(\) | -> return g()
- 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
- # hf_list | # hf_list
- .*g\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- -> return 'foo' | -> res = hook_impl.function(*args) <<<<<
- # c | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
- __________________________________________________________________________________________ test_break_on_setattr ___________________________________________________________________________________________
- testing/test_pdb.py:1137: in test_break_on_setattr
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1122)fn()
- -> obj.x = 0 | -> obj.x = 0
- 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
- # hasattr\(obj, 'x'\) | # hasattr(obj, 'x')
- False | False
- # n | # n
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1123)fn()
- -> return obj.x | -> return obj.x
- # p obj.x | 5 frames hidden (try 'help hidden_frames') <<<<<
- 0 | # p obj.x <<<<<
- # c | 0 <<<<<
- _____________________________________________________________________________________ test_break_on_setattr_condition ______________________________________________________________________________________
- testing/test_pdb.py:1164: in test_break_on_setattr_condition
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1149)fn()
- -> obj.x = 42 | -> obj.x = 42
- 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
- # obj.x | # obj.x
- 0 | 0
- # n | # n
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1150)fn()
- -> return obj.x | -> return obj.x
- # obj.x | 5 frames hidden (try 'help hidden_frames') <<<<<
- 42 | # obj.x <<<<<
- # c | 42 <<<<<
- ___________________________________________________________________________________ test_break_on_setattr_non_decorator ____________________________________________________________________________________
- testing/test_pdb.py:1184: in test_break_on_setattr_non_decorator
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1177)fn()
- -> a.bar = 42 | -> a.bar = 42
- 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
- # c | # c
- _____________________________________________________________________________________ test_break_on_setattr_overridden _____________________________________________________________________________________
- testing/test_pdb.py:1212: in test_break_on_setattr_overridden
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1195)fn()
- -> obj.x = 0 | -> obj.x = 0
- 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
- # obj.y | # obj.y
- 42 | 42
- # hasattr\(obj, 'x'\) | # hasattr(obj, 'x')
- False | False
- # n | # n
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1196)fn()
- -> return obj.x | -> return obj.x
- # p obj.x | 5 frames hidden (try 'help hidden_frames') <<<<<
- 1 | # p obj.x <<<<<
- # c | 1 <<<<<
- ________________________________________________________________________________________________ test_debug ________________________________________________________________________________________________
- testing/test_pdb.py:1269: in test_debug
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1250)fn()
- -> return 1 | -> return 1
- # debug g\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
- ENTERING RECURSIVE DEBUGGER | # debug g() <<<<<
- \[ *[0-9]*\] > .* | ENTERING RECURSIVE DEBUGGER <<<<<
- \(#\) s | [1] > <string>(1)<module>() <<<<<
- --Call-- | (#) s <<<<<
- \[ *[0-9]*\] > .*g\(\) | --Call-- <<<<<
- -> def g\(\): | [2] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1244)g() <<<<<
- \(#\) ll | -> def g(): <<<<<
- *[0-9]* -> def g\(\): | (#) ll <<<<<
- *[0-9]* a = 1 | 1244 -> def g(): <<<<<
- *[0-9]* return a | 1245 a = 1 <<<<<
- \(#\) c | 1246 return a <<<<<
- LEAVING RECURSIVE DEBUGGER | (#) c <<<<<
- # c | LEAVING RECURSIVE DEBUGGER <<<<<
- _______________________________________________________________________________________ test_before_interaction_hook _______________________________________________________________________________________
- testing/test_pdb.py:1284: in test_before_interaction_hook
- """)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1277)fn()
- -> return 1 | -> return 1
- HOOK! | 5 frames hidden (try 'help hidden_frames') <<<<<
- # c | HOOK! <<<<<
- _____________________________________________________________________________________________ test_unicode_bug _____________________________________________________________________________________________
- testing/test_pdb.py:1306: in test_unicode_bug
- check(fn, check_output)
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1290)fn()
- -> x = "this is plain ascii" | -> x = "this is plain ascii"
- # n | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
- -> y = "this contains a unicode: à" | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1291)fn() <<<<<
- # c | -> y = "this contains a unicode: à" <<<<<
- ____________________________________________________________________________________________ test_continue_arg _____________________________________________________________________________________________
- testing/test_pdb.py:1328: in test_continue_arg
- """ % (line_z, line_z))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1312)fn()
- -> x = 1 | -> x = 1
- # c 1314 | 5 frames hidden (try 'help hidden_frames') <<<<<
- Breakpoint 1 at .*/test_pdb.py:1314 | # c 1314 <<<<<
- Deleted breakpoint 1 | Breakpoint 1 at /home/cfbolz/projects/misc/pdb/testing/test_pdb.py:1314 <<<<<
- \[ *[0-9]*\] > .*fn\(\) | Deleted breakpoint 1 <<<<<
- -> z = 3 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1314)fn() <<<<<
- # c | -> z = 3 <<<<<
- ______________________________________________________________________________________ test_frame_cmd_changes_locals _______________________________________________________________________________________
- testing/test_pdb.py:1365: in test_frame_cmd_changes_locals
- """.format(frame_num_a=count_frames() + 2))
- testing/test_pdb.py:165: in check
- assert all_ok
- E assert False
- ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
-
- \[ *[0-9]*\] > .*fn\(\) | [36] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1354)fn()
- -> return | -> return
- # f 39 | 5 frames hidden (try 'help hidden_frames') <<<<<
- \[ *[0-9]*\] > .*a\(\) | # f 39 <<<<<
- -> b\(\) | *** Out of range <<<<<
- # p list\(sorted\(locals\(\).keys\(\)\)\) | # p list(sorted(locals().keys()))
- \['b', 'x'\] | [] <<<<<
- # c | # c
- ============================================================================= 41 failed, 79 passed, 2 skipped in 1.60 seconds ==
-