Skip to content

Conversation

mkoeppe
Copy link
Contributor

@mkoeppe mkoeppe commented Dec 7, 2023

When pytest is not installed,

$ ./sage -pytest src/sage/tests/memcheck                                                     git:sage_tests_memcheck_optional
Run 'sage -i pytest' to install
/Users/mkoeppe/s/sage/sage-rebasing/worktree-clean/local/var/lib/sage/venv-python3.9/bin/python3: can't find '__main__' module in '/Users/mkoeppe/s/sage/sage-rebasing/worktree-clean/src/sage/tests/memcheck'

Here we add the missing error exit. Likewise for sage --tox.

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

Copy link

github-actions bot commented Dec 7, 2023

Documentation preview for this PR (built with commit 4c140c1; changes) is ready! 🎉

Copy link
Member

@dimpase dimpase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 13, 2023

Thanks.

@vbraun vbraun merged commit 4adecd8 into sagemath:develop Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants