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

Fixed ResourceWarnings in tests #1366

Merged
merged 3 commits into from Nov 16, 2023
Merged

Conversation

JrooTJunior
Copy link
Member

Description

Fixed ResourceWarning in tests, modified the pytest's configuration file, pyproject.toml, to remove filterwarnings settings. It also makes changes in various test files; the Redis isolation test is now using the provided redis_storage fixture instead of setting up its own connection, pytest.mark.filterwarnings is no longer used in test_isolation.py and test_aiohttp_session.py properly closes off sessions.

Fixes #1320

This commit modifies the pytest's configuration file, `pyproject.toml`, to remove filterwarnings settings. It also makes changes in various test files; the Redis isolation test is now using the provided `redis_storage` fixture instead of setting up its own connection, pytest.mark.filterwarnings is no longer used in `test_isolation.py` and `test_aiohttp_session.py` properly closes off sessions.
@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Nov 15, 2023
Copy link

github-actions bot commented Nov 15, 2023

✔️ Changelog found.

Thank you for adding a description of the changes

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #1366 (916503e) into dev-3.x (9a2a72f) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1366   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          369       369           
  Lines         9448      9448           
=========================================
  Hits          9448      9448           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@JrooTJunior JrooTJunior merged commit 3ad5ed6 into dev-3.x Nov 16, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issue or PR for stable 3.x version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ResourceWarning from RedisIsolation + uvloop
1 participant