Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Updated test suite to remove use of generators as co-routines. #102

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Sep 11, 2023

Python 3.12 removed support for using generators as co-routines. The test suite contained a couple of instances of this; this PR removes those usages.

No APIs have been changed, so generators should continue to work a co-routines on Python3.11; however, it would be generally advisable to update any existing code that is relying on this.

Fixes #78.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 merged commit 42a7559 into main Sep 11, 2023
@freakboy3742 freakboy3742 deleted the py3.12-compat branch September 11, 2023 07:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test suite raises errors on Python 3.12.0a7
1 participant