Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure tests marked by memray run even if --memray is not passed #57

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Nov 30, 2022

The fact that the plugin is not registered if --memray is not
provided has proven to be a source of confusion and provides a bad
UX.

Closes: #49

Copy link
Contributor

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

Is the CI failing? Also, let's add a changelog entry.

@pablogsal
Copy link
Member Author

The CI is failing?

We need to fix the flaky test. Is passing now

Copy link
Contributor

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

The fact that the plugin is not registered if `--memray` is not
provided has proven to be a source of confusion and provides a bad
UX.

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
@gaborbernat gaborbernat merged commit 5bcbcc2 into bloomberg:main Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable @pytest.mark.limit_memory without having to specify --memray
2 participants