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

gh-119659: Get the datetime CAPI Tests Running Again #120180

Merged

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Jun 6, 2024

The tests were accidentally disabled by 2da0dc0, which didn't handle classes correctly.

I considered updating no_rerun() to support classes, but the way test_datetime.py works would have made things fairly messy. Plus, it looks like the refleaks we had encountered before have been resolved.

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 do you think about #119659 ?

@ericsnowcurrently
Copy link
Member Author

Ah, somehow I missed that you had already noticed this. I'm fine with actually fixing it, like you do in gh-119675 (which I haven't actually looked at yet). However, it looks like we actually don't need no_rerun for datetime's CapiTest any more, so the change in this PR might be the right first step, regardless of whether or not we make no_rerun work with test classes.

@ericsnowcurrently ericsnowcurrently added the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Jun 6, 2024
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @ericsnowcurrently for commit 80b9bc5 🤖

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Jun 6, 2024
@ericsnowcurrently ericsnowcurrently merged commit e6076d1 into python:main Jun 7, 2024
51 checks passed
@ericsnowcurrently ericsnowcurrently deleted the fix-datetime-capi-tests branch June 7, 2024 17:44
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…120180)

The tests were accidentally disabled by 2da0dc0, which didn't handle classes correctly.

I considered updating no_rerun() to support classes, but the way test_datetime.py works would have made things fairly messy.  Plus, it looks like the refleaks we had encountered before have been resolved.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…120180)

The tests were accidentally disabled by 2da0dc0, which didn't handle classes correctly.

I considered updating no_rerun() to support classes, but the way test_datetime.py works would have made things fairly messy.  Plus, it looks like the refleaks we had encountered before have been resolved.
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