This outputs
#+RESULTS:
| (linenum:0, |
|           4 |

I suppose the issue is the "linenum:0". In fact, running any of the test src blocks does that, e.g.
#+begin_src maxima :results verbatim :batch batch
(assume(z>0),
integrate(exp(-t)*t^z, t, 0, inf));
#+end_src

#+RESULTS:
#+begin_example
(linenum:0,
(assume(z > 0),integrate(exp(-t)*t^z,t,0,inf))
                                 gamma(z + 1)
#+end_example
This does not match the (should (equal ...)) in test-ob-maxima.el

I don't know maxima, and haven't made any explicit modifications regards it, so I don't know why my setup would be outputting linenum:0





On Sun, Nov 24, 2024 at 4:13 AM Ihor Radchenko <yantar92@posteo.net> wrote:
Benjamin McMillan <mcmillanbb@gmail.com> writes:

> Sure, a call of
> maxima --version
> returns
> Maxima 5.47.0

I have the same and all the tests are passing.
Might be something Mac-related.

What if you try

1. M-: (require 'ob-maxima)

2. Evaluate the following src block

#+begin_src maxima :var s=4
print(s);
#+end_src

--
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>