I looked it up on the Sage developer documentation at https://doc.sagemath.org/html/en/developer/tools.html
The relevant command to be run is ``` ./sage -i pytest ``` from SAGE_ROOT. Running this, pytest works fine now. [image: Screenshot from 2022-03-24 16-01-23.png] Thanks, everyone for the help. On Thursday, March 24, 2022 at 3:15:08 PM UTC+5:30 François Bissey wrote: > The way they want to run pytest, I would suggest to try > cd src > pytest -v > first. The configuration files for pytest are in there and it should be > the reported rootdir. Not SAGE_ROOT. > > > On 24/03/2022, at 22:41, Dima Pasechnik <dim...@gmail.com> wrote: > > > > you need Sage's pytest package, which can be installed by doing e.g. > > > > make pytest > > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/bccfd0ca-7a3d-44b5-9532-d6a442ab17d6n%40googlegroups.com.