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

Python 3.12 alpha fixes #10893

Merged
merged 2 commits into from
Apr 11, 2023
Merged

Python 3.12 alpha fixes #10893

merged 2 commits into from
Apr 11, 2023

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Apr 11, 2023

Fixes #10890 and #10875.

py3.12 CI is currently blocked (see #10894), but shouldn't block these changes, which are quite simple and which I tested locally.

Fix pytest-dev#10875

Without this, fails with

```
...
E           AttributeError: 'TestCaseFunction' object has no attribute 'addDuration'
...
E           RuntimeWarning: TestResult has no addDuration method
```
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

Thanks!

@bluetech
Copy link
Member Author

The codecov/patch failure is expected, since we can't have py3.12 CI yet, however I don't want to add cover ignores for it. So merging despite it.

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.

Use of rmtree causes DeprecationWarning on Python 3.12 alpha
2 participants