Skip to content

fix(tests): skip test_staticfiles_filename_too_long on Windows where os.pathconf is unavailable#3386

Open
LaRoyBot wants to merge 1 commit into
Kludex:mainfrom
LaRoyBot:fix-staticfiles-pathconf-windows-compatibility
Open

fix(tests): skip test_staticfiles_filename_too_long on Windows where os.pathconf is unavailable#3386
LaRoyBot wants to merge 1 commit into
Kludex:mainfrom
LaRoyBot:fix-staticfiles-pathconf-windows-compatibility

Conversation

@LaRoyBot

@LaRoyBot LaRoyBot commented Jul 23, 2026

Copy link
Copy Markdown

Adds @pytest.mark.skipif(not hasattr(os, "pathconf"), ...) to test_staticfiles_filename_too_long to prevent an AttributeError crash on Windows platforms where POSIX os.pathconf is absent.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

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