test-ob-python: Refactor test failing on CI to provide better backtrace
* testing/lisp/test-ob-python.el (test-ob-python/assign-underscore): Do not wrap code into `should' form as much as possible to avoid truncated backtrace.
This commit is contained in:
parent
de2d2d928f
commit
3ef0e3c338
|
@ -163,13 +163,13 @@ value
|
|||
(org-babel-execute-src-block)))))
|
||||
|
||||
(ert-deftest test-ob-python/assign-underscore ()
|
||||
(should
|
||||
(equal "success"
|
||||
(org-test-with-temp-text "#+begin_src python :session :results value
|
||||
(let ((result
|
||||
(org-test-with-temp-text "#+begin_src python :session :results value
|
||||
_ = 'failure'
|
||||
'success'
|
||||
#+end_src"
|
||||
(org-babel-execute-src-block)))))
|
||||
(org-babel-execute-src-block))))
|
||||
(should (equal "success" result))))
|
||||
|
||||
(ert-deftest test-ob-python/multiline-var ()
|
||||
(should
|
||||
|
|
Loading…
Reference in New Issue