spacepaste

  1.  
  2. GLOB sdist-make: /home/cfbolz/projects/misc/pdb/setup.py
  3. py27 inst-nodeps: /home/cfbolz/projects/misc/pdb/.tox/dist/pdbpp-0.9.3.dev6+gb7e789b.d20180320.zip
  4. 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
  5. py27 runtests: PYTHONHASHSEED='3813065816'
  6. py27 runtests: commands[0] | py.test
  7. =========================================================================================== test session starts ============================================================================================
  8. platform linux2 -- Python 2.7.14, pytest-3.4.2, py-1.5.2, pluggy-0.6.0
  9. rootdir: /home/cfbolz/projects/misc/pdb, inifile: pytest.ini
  10. collected 122 items
  11. testing/test_pdb.py FFFFFFFFF......................................................................FFFFFFF....FFFFFFFFF.FF.FFFFF..FFFFssFFFF.F [100%]
  12. ================================================================================================= FAILURES =================================================================================================
  13. _______________________________________________________________________________________________ test_runpdb ________________________________________________________________________________________________
  14. testing/test_pdb.py:186: in test_runpdb
  15. """)
  16. testing/test_pdb.py:165: in check
  17. assert all_ok
  18. E assert False
  19. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  20. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(171)fn()
  21. -> a = 1 | -> a = 1
  22. # n | 5 frames hidden (try 'help hidden_frames') <<<<<
  23. \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
  24. -> b = 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(172)fn() <<<<<
  25. # n | -> b = 2 <<<<<
  26. \[ *[0-9]*\] > .*fn\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
  27. -> c = 3 | # n <<<<<
  28. # c | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(173)fn() <<<<<
  29. _________________________________________________________________________________ test_set_trace_remembers_previous_state __________________________________________________________________________________
  30. testing/test_pdb.py:212: in test_set_trace_remembers_previous_state
  31. """)
  32. testing/test_pdb.py:165: in check
  33. assert all_ok
  34. E assert False
  35. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  36. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(192)fn()
  37. -> a = 2 | -> a = 2
  38. # display a | 5 frames hidden (try 'help hidden_frames') <<<<<
  39. # c | # display a <<<<<
  40. \[ *[0-9]*\] > .*fn\(\) | # c <<<<<
  41. -> a = 3 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(194)fn() <<<<<
  42. a: 1 --> 2 | -> a = 3 <<<<<
  43. # c | 5 frames hidden (try 'help hidden_frames') <<<<<
  44. \[ *[0-9]*\] > .*fn\(\) | a: 1 --> 2 <<<<<
  45. -> a = 4 | # c <<<<<
  46. a: 2 --> 3 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(196)fn() <<<<<
  47. # c | -> a = 4 <<<<<
  48. ________________________________________________________________________________________ test_single_question_mark _________________________________________________________________________________________
  49. testing/test_pdb.py:238: in test_single_question_mark
  50. """)
  51. testing/test_pdb.py:165: in check
  52. assert all_ok
  53. E assert False
  54. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  55. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(220)fn()
  56. -> a = 1 | -> a = 1
  57. # f2 | 5 frames hidden (try 'help hidden_frames') <<<<<
  58. <function .*f2 at .*> | # f2 <<<<<
  59. # f2? | <function f2 at 0x7f9293bac8c0> <<<<<
  60. .*Type:.*function | # f2? <<<<<
  61. .*String Form:.*<function .*f2 at .*> | Type: function <<<<<
  62. .*File:.*test_pdb.py | String Form: <function f2 at 0x7f9293bac8c0> <<<<<
  63. .*Definition:.*f2\(x, y\) | File: /home/cfbolz/projects/misc/pdb/testing/test_pdb.py <<<<<
  64. .*Docstring:.*Return product of x and y | Definition: f2(x, y) <<<<<
  65. # c | Docstring: Return product of x and y <<<<<
  66. ________________________________________________________________________________________ test_double_question_mark _________________________________________________________________________________________
  67. testing/test_pdb.py:267: in test_double_question_mark
  68. """)
  69. testing/test_pdb.py:165: in check
  70. assert all_ok
  71. E assert False
  72. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  73. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(246)fn()
  74. -> a = 1 | -> a = 1
  75. # f2 | 5 frames hidden (try 'help hidden_frames') <<<<<
  76. <function .*f2 at .*> | # f2 <<<<<
  77. # f2?? | <function f2 at 0x7f9293bac6e0> <<<<<
  78. .*Type:.*function | # f2?? <<<<<
  79. .*String Form:.*<function .*f2 at .*> | Type: function <<<<<
  80. .*File:.*test_pdb.py | String Form: <function f2 at 0x7f9293bac6e0> <<<<<
  81. .*Definition:.*f2\(x, y\) | File: /home/cfbolz/projects/misc/pdb/testing/test_pdb.py <<<<<
  82. .*Docstring:.*Return product of x and y | Definition: f2(x, y) <<<<<
  83. .*Source:.* | Docstring: Return product of x and y <<<<<
  84. .* def f2\(x, y\): | Source: <<<<<
  85. .* """Return product of x and y""" | 242 def f2(x, y): <<<<<
  86. .* return x \* y | 243 """Return product of x and y""" <<<<<
  87. # c | 244 return x * y <<<<<
  88. ____________________________________________________________________________________________ test_up_local_vars ____________________________________________________________________________________________
  89. testing/test_pdb.py:286: in test_up_local_vars
  90. """)
  91. testing/test_pdb.py:165: in check
  92. assert all_ok
  93. E assert False
  94. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  95. \[ *[0-9]*\] > .*nested\(\) | [35] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(272)nested()
  96. -> return | -> return
  97. # up | 5 frames hidden (try 'help hidden_frames') <<<<<
  98. \[ *[0-9]*\] > .*fn\(\) | # up <<<<<
  99. -> nested\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(275)fn() <<<<<
  100. # xx | -> nested() <<<<<
  101. 42 | # xx <<<<<
  102. # c | 42 <<<<<
  103. ________________________________________________________________________________________________ test_frame ________________________________________________________________________________________________
  104. testing/test_pdb.py:304: in test_frame
  105. """.format(frame_num_a=count_frames() + 2))
  106. testing/test_pdb.py:165: in check
  107. assert all_ok
  108. E assert False
  109. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  110. \[ *[0-9]*\] > .*c\(\) | [36] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(295)c()
  111. -> return | -> return
  112. # f 39 | 5 frames hidden (try 'help hidden_frames') <<<<<
  113. \[ *[0-9]*\] > .*a\(\) | # f 39 <<<<<
  114. -> b\(\) | *** Out of range <<<<<
  115. # c | # c
  116. _____________________________________________________________________________________________ test_up_down_arg _____________________________________________________________________________________________
  117. testing/test_pdb.py:325: in test_up_down_arg
  118. """)
  119. testing/test_pdb.py:165: in check
  120. assert all_ok
  121. E assert False
  122. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  123. \[ *[0-9]*\] > .*c\(\) | [36] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(313)c()
  124. -> return | -> return
  125. # up 3 | 5 frames hidden (try 'help hidden_frames') <<<<<
  126. \[ *[0-9]*\] > .*runpdb\(\) | # up 3 <<<<<
  127. -> func\(\) | [33] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(93)runpdb() <<<<<
  128. # down 1 | -> func() <<<<<
  129. \[ *[0-9]*\] > .*a\(\) | # down 1 <<<<<
  130. -> b\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(308)a() <<<<<
  131. # c | -> b() <<<<<
  132. ______________________________________________________________________________________________ test_parseline ______________________________________________________________________________________________
  133. testing/test_pdb.py:347: in test_parseline
  134. """)
  135. testing/test_pdb.py:165: in check
  136. assert all_ok
  137. E assert False
  138. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  139. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(331)fn()
  140. -> return c | -> return c
  141. # c | 5 frames hidden (try 'help hidden_frames') <<<<<
  142. 42 | # c <<<<<
  143. # !c | 42 <<<<<
  144. 42 | # !c <<<<<
  145. # r = 5 | 42 <<<<<
  146. # r | # r = 5
  147. 5 | # r <<<<<
  148. # r = 6 | 5 <<<<<
  149. # r | # r = 6
  150. 6 | # r <<<<<
  151. # !!c | 6 <<<<<
  152. ______________________________________________________________________________________________ test_args_name ______________________________________________________________________________________________
  153. testing/test_pdb.py:361: in test_args_name
  154. """)
  155. testing/test_pdb.py:165: in check
  156. assert all_ok
  157. E assert False
  158. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  159. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(353)fn()
  160. -> return args | -> return args
  161. # args | 5 frames hidden (try 'help hidden_frames') <<<<<
  162. 42 | # args <<<<<
  163. # c | 42 <<<<<
  164. ______________________________________________________________________________________________ test_shortlist ______________________________________________________________________________________________
  165. testing/test_pdb.py:471: in test_shortlist
  166. """.format(line_num=fn.__code__.co_firstlineno))
  167. testing/test_pdb.py:165: in check
  168. assert all_ok
  169. E assert False
  170. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  171. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(460)fn()
  172. -> return a | -> return a
  173. # l 457, 3 | 5 frames hidden (try 'help hidden_frames') <<<<<
  174. *[0-9]* def fn\(\): | # l 457, 3 <<<<<
  175. *[0-9]* a = 1 | 457 def fn(): <<<<<
  176. *[0-9]* set_trace\(Config=ConfigTest\) | 458 a = 1 <<<<<
  177. *[0-9]* -> return a | 459 set_trace(Config=ConfigTest) <<<<<
  178. # c | 460 -> return a <<<<<
  179. ______________________________________________________________________________________________ test_longlist _______________________________________________________________________________________________
  180. testing/test_pdb.py:488: in test_longlist
  181. """)
  182. testing/test_pdb.py:165: in check
  183. assert all_ok
  184. E assert False
  185. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  186. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(477)fn()
  187. -> return a | -> return a
  188. # ll | 5 frames hidden (try 'help hidden_frames') <<<<<
  189. *[0-9]* def fn\(\): | # ll <<<<<
  190. *[0-9]* a = 1 | 474 def fn(): <<<<<
  191. *[0-9]* set_trace\(\) | 475 a = 1 <<<<<
  192. *[0-9]* -> return a | 476 set_trace() <<<<<
  193. # c | 477 -> return a <<<<<
  194. _______________________________________________________________________________________________ test_display _______________________________________________________________________________________________
  195. testing/test_pdb.py:515: in test_display
  196. """)
  197. testing/test_pdb.py:165: in check
  198. assert all_ok
  199. E assert False
  200. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  201. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(494)fn()
  202. -> b = 1 | -> b = 1
  203. # display a | 5 frames hidden (try 'help hidden_frames') <<<<<
  204. # n | # display a <<<<<
  205. \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
  206. -> a = 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(495)fn() <<<<<
  207. # n | -> a = 2 <<<<<
  208. \[ *[0-9]*\] > .*fn\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
  209. -> a = 3 | # n <<<<<
  210. a: 1 --> 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(496)fn() <<<<<
  211. # undisplay a | -> a = 3 <<<<<
  212. # n | 5 frames hidden (try 'help hidden_frames') <<<<<
  213. \[ *[0-9]*\] > .*fn\(\) | a: 1 --> 2 <<<<<
  214. -> return a | # undisplay a <<<<<
  215. # c | # n <<<<<
  216. __________________________________________________________________________________________ test_display_undefined __________________________________________________________________________________________
  217. testing/test_pdb.py:532: in test_display_undefined
  218. """)
  219. testing/test_pdb.py:165: in check
  220. assert all_ok
  221. E assert False
  222. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  223. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(520)fn()
  224. -> b = 42 | -> b = 42
  225. # display b | 5 frames hidden (try 'help hidden_frames') <<<<<
  226. # n | # display b <<<<<
  227. \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
  228. -> return b | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(521)fn() <<<<<
  229. b: <undefined> --> 42 | -> return b <<<<<
  230. # c | 5 frames hidden (try 'help hidden_frames') <<<<<
  231. _______________________________________________________________________________________________ test_sticky ________________________________________________________________________________________________
  232. testing/test_pdb.py:570: in test_sticky
  233. """)
  234. testing/test_pdb.py:165: in check
  235. assert all_ok
  236. E assert False
  237. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  238. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(537)fn()
  239. -> a = 1 | -> a = 1
  240. # sticky | 5 frames hidden (try 'help hidden_frames') <<<<<
  241. \\[2J\\[1\;1H>.* | # sticky <<<<<
  242. |
  243. > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(537)
  244. *[0-9]* def fn\(\): | <<<<<
  245. *[0-9]* set_trace\(\) | 535 def fn(): <<<<<
  246. *[0-9]* -> a = 1 | 536 set_trace() <<<<<
  247. *[0-9]* b = 2 | 537 -> a = 1 <<<<<
  248. *[0-9]* c = 3 | 538 b = 2 <<<<<
  249. *[0-9]* return a | 539 c = 3 <<<<<
  250. # n | 540 return a <<<<<
  251. \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
  252. -> b = 2 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(538)fn() <<<<<
  253. \\[2J\\[1\;1H>.* | -> b = 2 <<<<<
  254. | 5 frames hidden (try 'help hidden_frames')
  255. *[0-9]* def fn\(\): |
  256. > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(538) <<<<<
  257. *[0-9]* set_trace\(\) | <<<<<
  258. *[0-9]* a = 1 | 535 def fn(): <<<<<
  259. *[0-9]* -> b = 2 | 536 set_trace() <<<<<
  260. *[0-9]* c = 3 | 537 a = 1 <<<<<
  261. *[0-9]* return a | 538 -> b = 2 <<<<<
  262. # sticky | 539 c = 3 <<<<<
  263. # n | 540 return a <<<<<
  264. \[ *[0-9]*\] > .*fn\(\) | # sticky <<<<<
  265. -> c = 3 | # n <<<<<
  266. # c | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(539)fn() <<<<<
  267. ____________________________________________________________________________________________ test_sticky_range _____________________________________________________________________________________________
  268. testing/test_pdb.py:593: in test_sticky_range
  269. """ % (start, end, start))
  270. testing/test_pdb.py:165: in check
  271. assert all_ok
  272. E assert False
  273. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  274. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(575)fn()
  275. -> a = 1 | -> a = 1
  276. # sticky 574 576 | 5 frames hidden (try 'help hidden_frames') <<<<<
  277. \\[2J\\[1\;1H>.* | # sticky 574 576 <<<<<
  278. |
  279. > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(575)
  280. 574 set_trace\(\) | <<<<<
  281. *[0-9]* -> a = 1 | 574 set_trace() <<<<<
  282. *[0-9]* b = 2 | 575 -> a = 1 <<<<<
  283. # c | 576 b = 2 <<<<<
  284. __________________________________________________________________________________________ test_sticky_by_default __________________________________________________________________________________________
  285. testing/test_pdb.py:619: in test_sticky_by_default
  286. """)
  287. testing/test_pdb.py:165: in check
  288. assert all_ok
  289. E assert False
  290. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  291. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(602)fn()
  292. -> a = 1 | -> a = 1
  293. \\[2J\\[1\;1H>.* | 5 frames hidden (try 'help hidden_frames') <<<<<
  294. |
  295. > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(602)
  296. *[0-9]* def fn\(\): | <<<<<
  297. *[0-9]* set_trace\(Config=MyConfig\) | 600 def fn(): <<<<<
  298. *[0-9]* -> a = 1 | 601 set_trace(Config=MyConfig) <<<<<
  299. *[0-9]* b = 2 | 602 -> a = 1 <<<<<
  300. *[0-9]* c = 3 | 603 b = 2 <<<<<
  301. *[0-9]* return a | 604 c = 3 <<<<<
  302. # c | 605 return a <<<<<
  303. ___________________________________________________________________________________________ test_py_code_source ____________________________________________________________________________________________
  304. testing/test_pdb.py:727: in test_py_code_source
  305. """)
  306. testing/test_pdb.py:165: in check
  307. assert all_ok
  308. E assert False
  309. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  310. \[ *[0-9]*\] > .*fn\(\) | [34] > <0-codegen /home/cfbolz/projects/misc/pdb/testing/test_pdb.py:717>(5)fn()
  311. -> return x | -> return x
  312. # ll | 5 frames hidden (try 'help hidden_frames') <<<<<
  313. *[0-9]* def fn\(\): | # ll <<<<<
  314. *[0-9]* x = 42 | 2 def fn(): <<<<<
  315. *[0-9]* set_trace\(\) | 3 x = 42 <<<<<
  316. *[0-9]* -> return x | 4 set_trace() <<<<<
  317. # c | 5 -> return x <<<<<
  318. _______________________________________________________________________________________________ test_source ________________________________________________________________________________________________
  319. testing/test_pdb.py:743: in test_source
  320. """)
  321. testing/test_pdb.py:165: in check
  322. assert all_ok
  323. E assert False
  324. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  325. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(734)fn()
  326. -> return bar\(\) | -> return bar()
  327. # source bar | 5 frames hidden (try 'help hidden_frames') <<<<<
  328. *[0-9]* def bar\(\): | # source bar <<<<<
  329. *[0-9]* return 42 | 730 def bar(): <<<<<
  330. # c | 731 return 42 <<<<<
  331. _____________________________________________________________________________________________ test_bad_source ______________________________________________________________________________________________
  332. testing/test_pdb.py:756: in test_bad_source
  333. """)
  334. testing/test_pdb.py:165: in check
  335. assert all_ok
  336. E assert False
  337. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  338. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(748)fn()
  339. -> return 42 | -> return 42
  340. # source 42 | 5 frames hidden (try 'help hidden_frames') <<<<<
  341. \*\* Error: .* is not a module, class, method, function, traceback, frame, or code object \*\* | # source 42 <<<<<
  342. # c | ** Error: 42 is not a module, class, method, function, traceback, frame, or code object ** <<<<<
  343. ________________________________________________________________________________________________ test_edit _________________________________________________________________________________________________
  344. testing/test_pdb.py:779: in test_edit
  345. """ % (return42_lineno, filename))
  346. testing/test_pdb.py:165: in check
  347. assert all_ok
  348. E assert False
  349. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  350. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(761)fn()
  351. -> return 42 | -> return 42
  352. # edit | 5 frames hidden (try 'help hidden_frames') <<<<<
  353. RUN emacs \+761 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' | # edit <<<<<
  354. # c | RUN emacs +761 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' <<<<<
  355. ______________________________________________________________________________________________ test_edit_obj _______________________________________________________________________________________________
  356. testing/test_pdb.py:811: in test_edit_obj
  357. """ % (bar_lineno, filename))
  358. testing/test_pdb.py:165: in check
  359. assert all_ok
  360. E assert False
  361. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  362. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(797)fn()
  363. -> return 42 | -> return 42
  364. # edit bar | 5 frames hidden (try 'help hidden_frames') <<<<<
  365. RUN emacs \+798 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' | # edit bar <<<<<
  366. # c | RUN emacs +798 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' <<<<<
  367. _________________________________________________________________________________________ test_edit_py_code_source _________________________________________________________________________________________
  368. testing/test_pdb.py:835: in test_edit_py_code_source
  369. """ % (src_compile_lineno, filename))
  370. testing/test_pdb.py:165: in check
  371. assert all_ok
  372. E assert False
  373. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  374. \[ *[0-9]*\] > .*bar\(\) | [34] > <1-codegen /home/cfbolz/projects/misc/pdb/testing/test_pdb.py:821>(4)bar()
  375. -> return 42 | -> return 42
  376. # edit bar | 5 frames hidden (try 'help hidden_frames') <<<<<
  377. RUN emacs \+821 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' | # edit bar <<<<<
  378. # c | RUN emacs +821 '/home/cfbolz/projects/misc/pdb/testing/test_pdb.py' <<<<<
  379. _________________________________________________________________________________________________ test_put _________________________________________________________________________________________________
  380. testing/test_pdb.py:856: in test_put
  381. """ % start_lineno)
  382. testing/test_pdb.py:165: in check
  383. assert all_ok
  384. E assert False
  385. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  386. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(841)fn()
  387. -> return 42 | -> return 42
  388. # x = 10 | 5 frames hidden (try 'help hidden_frames') <<<<<
  389. # y = 12 | # x = 10 <<<<<
  390. # put | # y = 12 <<<<<
  391. RUN epaste \+840 | # put <<<<<
  392. x = 10 | RUN epaste +840 <<<<<
  393. y = 12 | x = 10 <<<<<
  394. | y = 12
  395. # c | <<<<<
  396. ________________________________________________________________________________________________ test_paste ________________________________________________________________________________________________
  397. testing/test_pdb.py:879: in test_paste
  398. """ % start_lineno)
  399. testing/test_pdb.py:165: in check
  400. assert all_ok
  401. E assert False
  402. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  403. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(863)fn()
  404. -> if 4 != 5: g\(\) | -> if 4 != 5: g()
  405. # g\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
  406. hello world | # g() <<<<<
  407. # paste g\(\) | hello world <<<<<
  408. hello world | # paste g() <<<<<
  409. RUN epaste \+862 | hello world <<<<<
  410. hello world | RUN epaste +862 <<<<<
  411. | hello world
  412. # c | <<<<<
  413. _______________________________________________________________________________________________ test_put_if ________________________________________________________________________________________________
  414. testing/test_pdb.py:902: in test_put_if
  415. """ % start_lineno)
  416. testing/test_pdb.py:165: in check
  417. assert all_ok
  418. E assert False
  419. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  420. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(887)fn()
  421. -> return x | -> return x
  422. # x = 10 | 5 frames hidden (try 'help hidden_frames') <<<<<
  423. # y = 12 | # x = 10 <<<<<
  424. # put | # y = 12 <<<<<
  425. RUN epaste \+886 | # put <<<<<
  426. x = 10 | RUN epaste +886 <<<<<
  427. y = 12 | x = 10 <<<<<
  428. | y = 12
  429. # c | <<<<<
  430. ________________________________________________________________________________________ test_put_side_effects_free ________________________________________________________________________________________
  431. testing/test_pdb.py:933: in test_put_side_effects_free
  432. """ % start_lineno)
  433. testing/test_pdb.py:165: in check
  434. assert all_ok
  435. E assert False
  436. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  437. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(916)fn()
  438. -> return 42 | -> return 42
  439. # x | 5 frames hidden (try 'help hidden_frames') <<<<<
  440. 10 | # x <<<<<
  441. # x.__add__ | 10 <<<<<
  442. .* | # x.__add__
  443. # y = 12 | <method-wrapper '__add__' of int object at 0x55d67e5d34c0> <<<<<
  444. # put | # y = 12 <<<<<
  445. RUN epaste \+915 | # put <<<<<
  446. y = 12 | RUN epaste +915 <<<<<
  447. | y = 12
  448. # c | <<<<<
  449. ___________________________________________________________________________________________ test_enable_disable ____________________________________________________________________________________________
  450. testing/test_pdb.py:951: in test_enable_disable
  451. """)
  452. testing/test_pdb.py:165: in check
  453. assert all_ok
  454. E assert False
  455. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  456. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(943)fn()
  457. -> return x | -> return x
  458. # x | 5 frames hidden (try 'help hidden_frames') <<<<<
  459. 2 | # x <<<<<
  460. # c | 2 <<<<<
  461. _________________________________________________________________________________________ test_hide_hidden_frames __________________________________________________________________________________________
  462. testing/test_pdb.py:985: in test_hide_hidden_frames
  463. """)
  464. testing/test_pdb.py:165: in check
  465. assert all_ok
  466. E assert False
  467. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  468. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(965)fn()
  469. -> g\(\) | -> g()
  470. 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
  471. # down | # down
  472. ... Newest frame | *** Newest frame
  473. # hf_unhide | # hf_unhide
  474. # down | # down
  475. \[ *[0-9]*\] > .*g\(\) | [40] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(963)g()
  476. -> return 'foo' | -> return 'foo'
  477. # up | # up
  478. \[ *[0-9]*\] > .*fn\(\) | [39] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(965)fn()
  479. -> g\(\) | -> g()
  480. # hf_hide | # hf_hide
  481. # down | # down
  482. ... Newest frame | *** Newest frame
  483. # c | # c
  484. _________________________________________________________________________________________ test_hide_current_frame __________________________________________________________________________________________
  485. testing/test_pdb.py:1008: in test_hide_current_frame
  486. """)
  487. testing/test_pdb.py:165: in check
  488. assert all_ok
  489. E assert False
  490. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  491. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(993)fn()
  492. -> g\(\) | -> g()
  493. 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
  494. # hf_unhide | # hf_unhide
  495. # down | # down
  496. \[ *[0-9]*\] > .*g\(\) | [40] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(991)g()
  497. -> return 'foo' | -> return 'foo'
  498. # hf_hide | # hf_hide
  499. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(993)fn()
  500. -> g\(\) | -> g()
  501. # c | # c
  502. _________________________________________________________________________________________ test_list_hidden_frames __________________________________________________________________________________________
  503. testing/test_pdb.py:1031: in test_list_hidden_frames
  504. """)
  505. testing/test_pdb.py:165: in check
  506. assert all_ok
  507. E assert False
  508. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  509. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1019)fn()
  510. -> k\(\) | -> k()
  511. 2 frames hidden .* | 7 frames hidden (try 'help hidden_frames') <<<<<
  512. # hf_list | # hf_list
  513. .*k\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  514. -> return g\(\) | -> res = hook_impl.function(*args) <<<<<
  515. .*g\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  516. -> return 'foo' | -> res = hook_impl.function(*args) <<<<<
  517. # c | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  518. ________________________________________________________________________________________ test_hidden_pytest_frames _________________________________________________________________________________________
  519. testing/test_pdb.py:1056: in test_hidden_pytest_frames
  520. """)
  521. testing/test_pdb.py:165: in check
  522. assert all_ok
  523. E assert False
  524. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  525. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1043)fn()
  526. -> k\(\) | -> k()
  527. 2 frames hidden .* | 7 frames hidden (try 'help hidden_frames') <<<<<
  528. # hf_list | # hf_list
  529. .*k\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  530. -> return g\(\) | -> res = hook_impl.function(*args) <<<<<
  531. .*g\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  532. -> return 'foo' | -> res = hook_impl.function(*args) <<<<<
  533. # c | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  534. _______________________________________________________________________________________ test_hidden_unittest_frames ________________________________________________________________________________________
  535. testing/test_pdb.py:1075: in test_hidden_unittest_frames
  536. """)
  537. testing/test_pdb.py:165: in check
  538. assert all_ok
  539. E assert False
  540. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  541. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1065)fn()
  542. -> return g\(\) | -> return g()
  543. 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
  544. # hf_list | # hf_list
  545. .*g\(\) | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  546. -> return 'foo' | -> res = hook_impl.function(*args) <<<<<
  547. # c | /home/cfbolz/projects/misc/pdb/.tox/py27/local/lib/python2.7/site-packages/pluggy/callers.py(180)_multicall() <<<<<
  548. __________________________________________________________________________________________ test_break_on_setattr ___________________________________________________________________________________________
  549. testing/test_pdb.py:1137: in test_break_on_setattr
  550. """)
  551. testing/test_pdb.py:165: in check
  552. assert all_ok
  553. E assert False
  554. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  555. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1122)fn()
  556. -> obj.x = 0 | -> obj.x = 0
  557. 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
  558. # hasattr\(obj, 'x'\) | # hasattr(obj, 'x')
  559. False | False
  560. # n | # n
  561. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1123)fn()
  562. -> return obj.x | -> return obj.x
  563. # p obj.x | 5 frames hidden (try 'help hidden_frames') <<<<<
  564. 0 | # p obj.x <<<<<
  565. # c | 0 <<<<<
  566. _____________________________________________________________________________________ test_break_on_setattr_condition ______________________________________________________________________________________
  567. testing/test_pdb.py:1164: in test_break_on_setattr_condition
  568. """)
  569. testing/test_pdb.py:165: in check
  570. assert all_ok
  571. E assert False
  572. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  573. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1149)fn()
  574. -> obj.x = 42 | -> obj.x = 42
  575. 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
  576. # obj.x | # obj.x
  577. 0 | 0
  578. # n | # n
  579. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1150)fn()
  580. -> return obj.x | -> return obj.x
  581. # obj.x | 5 frames hidden (try 'help hidden_frames') <<<<<
  582. 42 | # obj.x <<<<<
  583. # c | 42 <<<<<
  584. ___________________________________________________________________________________ test_break_on_setattr_non_decorator ____________________________________________________________________________________
  585. testing/test_pdb.py:1184: in test_break_on_setattr_non_decorator
  586. """)
  587. testing/test_pdb.py:165: in check
  588. assert all_ok
  589. E assert False
  590. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  591. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1177)fn()
  592. -> a.bar = 42 | -> a.bar = 42
  593. 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
  594. # c | # c
  595. _____________________________________________________________________________________ test_break_on_setattr_overridden _____________________________________________________________________________________
  596. testing/test_pdb.py:1212: in test_break_on_setattr_overridden
  597. """)
  598. testing/test_pdb.py:165: in check
  599. assert all_ok
  600. E assert False
  601. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  602. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1195)fn()
  603. -> obj.x = 0 | -> obj.x = 0
  604. 1 frame hidden .* | 6 frames hidden (try 'help hidden_frames') <<<<<
  605. # obj.y | # obj.y
  606. 42 | 42
  607. # hasattr\(obj, 'x'\) | # hasattr(obj, 'x')
  608. False | False
  609. # n | # n
  610. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1196)fn()
  611. -> return obj.x | -> return obj.x
  612. # p obj.x | 5 frames hidden (try 'help hidden_frames') <<<<<
  613. 1 | # p obj.x <<<<<
  614. # c | 1 <<<<<
  615. ________________________________________________________________________________________________ test_debug ________________________________________________________________________________________________
  616. testing/test_pdb.py:1269: in test_debug
  617. """)
  618. testing/test_pdb.py:165: in check
  619. assert all_ok
  620. E assert False
  621. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  622. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1250)fn()
  623. -> return 1 | -> return 1
  624. # debug g\(\) | 5 frames hidden (try 'help hidden_frames') <<<<<
  625. ENTERING RECURSIVE DEBUGGER | # debug g() <<<<<
  626. \[ *[0-9]*\] > .* | ENTERING RECURSIVE DEBUGGER <<<<<
  627. \(#\) s | [1] > <string>(1)<module>() <<<<<
  628. --Call-- | (#) s <<<<<
  629. \[ *[0-9]*\] > .*g\(\) | --Call-- <<<<<
  630. -> def g\(\): | [2] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1244)g() <<<<<
  631. \(#\) ll | -> def g(): <<<<<
  632. *[0-9]* -> def g\(\): | (#) ll <<<<<
  633. *[0-9]* a = 1 | 1244 -> def g(): <<<<<
  634. *[0-9]* return a | 1245 a = 1 <<<<<
  635. \(#\) c | 1246 return a <<<<<
  636. LEAVING RECURSIVE DEBUGGER | (#) c <<<<<
  637. # c | LEAVING RECURSIVE DEBUGGER <<<<<
  638. _______________________________________________________________________________________ test_before_interaction_hook _______________________________________________________________________________________
  639. testing/test_pdb.py:1284: in test_before_interaction_hook
  640. """)
  641. testing/test_pdb.py:165: in check
  642. assert all_ok
  643. E assert False
  644. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  645. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1277)fn()
  646. -> return 1 | -> return 1
  647. HOOK! | 5 frames hidden (try 'help hidden_frames') <<<<<
  648. # c | HOOK! <<<<<
  649. _____________________________________________________________________________________________ test_unicode_bug _____________________________________________________________________________________________
  650. testing/test_pdb.py:1306: in test_unicode_bug
  651. check(fn, check_output)
  652. testing/test_pdb.py:165: in check
  653. assert all_ok
  654. E assert False
  655. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  656. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1290)fn()
  657. -> x = "this is plain ascii" | -> x = "this is plain ascii"
  658. # n | 5 frames hidden (try 'help hidden_frames') <<<<<
  659. \[ *[0-9]*\] > .*fn\(\) | # n <<<<<
  660. -> y = "this contains a unicode: à" | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1291)fn() <<<<<
  661. # c | -> y = "this contains a unicode: à" <<<<<
  662. ____________________________________________________________________________________________ test_continue_arg _____________________________________________________________________________________________
  663. testing/test_pdb.py:1328: in test_continue_arg
  664. """ % (line_z, line_z))
  665. testing/test_pdb.py:165: in check
  666. assert all_ok
  667. E assert False
  668. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  669. \[ *[0-9]*\] > .*fn\(\) | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1312)fn()
  670. -> x = 1 | -> x = 1
  671. # c 1314 | 5 frames hidden (try 'help hidden_frames') <<<<<
  672. Breakpoint 1 at .*/test_pdb.py:1314 | # c 1314 <<<<<
  673. Deleted breakpoint 1 | Breakpoint 1 at /home/cfbolz/projects/misc/pdb/testing/test_pdb.py:1314 <<<<<
  674. \[ *[0-9]*\] > .*fn\(\) | Deleted breakpoint 1 <<<<<
  675. -> z = 3 | [34] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1314)fn() <<<<<
  676. # c | -> z = 3 <<<<<
  677. ______________________________________________________________________________________ test_frame_cmd_changes_locals _______________________________________________________________________________________
  678. testing/test_pdb.py:1365: in test_frame_cmd_changes_locals
  679. """.format(frame_num_a=count_frames() + 2))
  680. testing/test_pdb.py:165: in check
  681. assert all_ok
  682. E assert False
  683. ------------------------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------------------------
  684. \[ *[0-9]*\] > .*fn\(\) | [36] > /home/cfbolz/projects/misc/pdb/testing/test_pdb.py(1354)fn()
  685. -> return | -> return
  686. # f 39 | 5 frames hidden (try 'help hidden_frames') <<<<<
  687. \[ *[0-9]*\] > .*a\(\) | # f 39 <<<<<
  688. -> b\(\) | *** Out of range <<<<<
  689. # p list\(sorted\(locals\(\).keys\(\)\)\) | # p list(sorted(locals().keys()))
  690. \['b', 'x'\] | [] <<<<<
  691. # c | # c
  692. ============================================================================= 41 failed, 79 passed, 2 skipped in 1.60 seconds ==
  693.