Skip to content

Add skipif markers to test_file_surrogates and test_file_error_surrogates#3323

Closed
internet-dot wants to merge 1 commit intopallets:mainfrom
internet-dot:fix/test-file-surrogates-skipif
Closed

Add skipif markers to test_file_surrogates and test_file_error_surrogates#3323
internet-dot wants to merge 1 commit intopallets:mainfrom
internet-dot:fix/test-file-surrogates-skipif

Conversation

@internet-dot
Copy link
Copy Markdown

Add @pytest.mark.skipif for _non_utf8_filenames_supported() to match the pattern used by test_path_surrogates. This prevents test failures on filesystems that don't support non-UTF-8 filenames.

Fixes #2634

…ates

Add @pytest.mark.skipif for _non_utf8_filenames_supported() to match the
pattern used by test_path_surrogates. This prevents test failures on
filesystems that don't support non-UTF-8 filenames.

Fixes pallets#2634
@davidism davidism closed this Apr 7, 2026
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.

tests/test_types.py::test_file_surrogates test is missing the skipif not _non_utf8_filenames_supported marker

2 participants