Skip to content

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