8000 @pytest.yield_fixture is deprecated · Issue #8232 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to cont 8000 ent
@pytest.yield_fixture is deprecated #8232
Closed
@Mariatta

Description

@Mariatta

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

The issue you're having must be related to a file in this repository. We are unable to provide assistance for issues unrelated to samples in this repository.

Please include as much information as possible:

Is your feature request related to a problem? Please describe.

@pytest.yield_fixture has been deprecated and should be replaced with @pytest.fixture

Several samples were still using @pytest.yield_fixture: in appengine/standard, datastore/cloud-client, and dns/api

They should be updated.

Describe the solution you'd like.

Update the code to use @pytest.fixture instead of @pytest.yield_fixture

Describe alternatives you've considered.

Additional context.

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0