Skip to content

docs: prefer the cache fixture in cache examples#14285

Open
liruiluo wants to merge 1 commit intopytest-dev:mainfrom
liruiluo:docs/cache-fixture-example
Open

docs: prefer the cache fixture in cache examples#14285
liruiluo wants to merge 1 commit intopytest-dev:mainfrom
liruiluo:docs/cache-fixture-example

Conversation

@liruiluo
Copy link

Summary

  • update the cache how-to example to use the built-in cache fixture
  • note that pytestconfig.cache should be guarded because users can disable cacheprovider
  • mirror the same guidance in the API reference docs

Addresses the documentation concern in #14148.

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.

1 participant