Skip to content

Fix "ResourceWarning: unclosed file"#69

Open
Mogost wants to merge 1 commit into
roverdotcom:masterfrom
Mogost:patch-2
Open

Fix "ResourceWarning: unclosed file"#69
Mogost wants to merge 1 commit into
roverdotcom:masterfrom
Mogost:patch-2

Conversation

@Mogost

@Mogost Mogost commented Jun 6, 2024

Copy link
Copy Markdown

No description provided.

@dbaty

dbaty commented Jul 17, 2024

Copy link
Copy Markdown

I confirm that this fix works. Without this, any use of StaticfilesStorageCSSLoader in a test yields a warning, which is blocking when configuring pytest to fail upon warnings (which I think is good practice).

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.

2 participants