Skip to content

Conversation

@oxygen-dioxide
Copy link

The original test_file_uris() contained POSIX-specific expectations and always fail on Windows. This change splits that test into two platform-specific tests: test_file_uris_posix() and test_file_uris_windows(), each guarded with pytest.mark.skipif so they only run on the appropriate platform.

What changed

  • Added test_file_uris_posix() (runs only when sys.platform != "win32")
  • Added test_file_uris_windows() (runs only when sys.platform == "win32")
  • Each test contains assertions tailored to its platform (POSIX paths vs. Windows drive-letter paths and backslashes).

Added Windows-specific tests for file URIs.
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