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

fix: use pytest native method name #305

Merged
merged 1 commit into from
May 31, 2023

Conversation

frostming
Copy link
Contributor

@frostming frostming commented May 30, 2023

Fix #298

This eliminates the mass warning when running pytest:

    tests/test_storage_redis.py::TestRedisCache::test_set_expiration_int is using nose-specific method: `setup(self)`
  To remove this warning, rename it to `setup_method(self)`
  See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
    fixture_result = next(generator)

Signed-off-by: Frost Ming [email protected]

@frostming
Copy link
Contributor Author

The black formatting is triggered by bulk replace.

@frostming frostming merged commit 2b696f6 into psf:master May 31, 2023
@frostming frostming deleted the frostming/issue298 branch May 31, 2023 02:53
woodruffw pushed a commit to woodruffw-forks/cachecontrol that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant