all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: emacs-orgmode@gnu.org, Jack Kamm <jackkamm@gmail.com>
Subject: [BUG] FAILED  test-ob-python/session-multiline
Date: Sat, 26 Aug 2023 12:45:17 +0000	[thread overview]
Message-ID: <873506j7ky.fsf@localhost> (raw)

Hi,

We have fairly regular CI test failures for one of the ob-python tests.
The test does not fail _every_ time, but I keep seeing the problem in
various Emacs versions, including Emacs 29.

Example log: https://builds.sr.ht/~bzg/job/1047678#task-build

In the test the result somehow includes prompt:

Test test-ob-python/session-multiline condition:
    (ert-test-failed
     ((should
       (equal "20"
	      (org-test-with-temp-text "#+begin_src python :session :results output\n  foo = 0\n  for _ in range(10):\n      foo += 1\n\n      foo += 1\n\n  print(foo)\n#+end_src" ...)))
      :form
      (equal "20" ">>> 20")
      :value nil :explanation


-->   (arrays-of-different-length 2 6 "20" ">>> 20" first-mismatch-at 0)))


   FAILED   376/1256  test-ob-python/session-multiline (0.011955 sec) at ../lisp/test-ob-python.el:105

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


             reply	other threads:[~2023-08-26 12:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-26 12:45 Ihor Radchenko [this message]
2023-08-26 15:47 ` [BUG] FAILED test-ob-python/session-multiline Jack Kamm
2023-08-26 16:31   ` Ihor Radchenko
2023-08-27 17:55     ` Jack Kamm
2023-08-28  8:31       ` Ihor Radchenko
2023-10-15 23:56         ` Jack Kamm
2023-10-16  8:09           ` Ihor Radchenko
2023-10-15 23:39 ` Jack Kamm
2023-10-16  7:55   ` Ihor Radchenko
2024-04-02 18:27     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873506j7ky.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=jackkamm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.