Skip to content

gh-108297: Remove test_crashers #108690

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

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 30, 2023

The test was skipped in 2011 by
commit 89ba56d.

Scripts in Lib/test/crashers/ do not crash on a reliable way. They rely on undefined behaviors, like state of the stack memory, and so may or may not crash. It is not worth it to make sure that they crash in a continious integration, they should be run manually time to time instead.

The test was skipped in 2011 by
commit 89ba56d.

Scripts in Lib/test/crashers/ do not crash on a reliable way. They
rely on undefined behaviors, like state of the stack memory, and so
may or may not crash. It is not worth it to make sure that they crash
in a continious integration, they should be run manually time to time
instead.
@vstinner
Copy link
Member Author

I do not want to backport the change to stable branches, it's fine to keep test_crashers.py there, it is skipped since 2011 anyway.

@vstinner
Copy link
Member Author

cc @serhiy-storchaka

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

What about crashes/ dir?

@vstinner
Copy link
Member Author

Lib/test/crashes/ should stay.

@serhiy-storchaka
Copy link
Member

test_crashers was added in 2011 and disabled 3 days and 2 minutes later. It was not used since.

@vstinner
Copy link
Member Author

test_crashers was added in 2011 and disabled 3 days and 2 minutes later. It was not used since.

LOL. Really? Oh wow... that's the shortest test lifetime in the Python test suite :-)

@vstinner vstinner merged commit f59c66e into python:main Aug 30, 2023
@vstinner vstinner deleted the remove_test_crashers branch August 30, 2023 19:33
@bedevere-bot

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants