Skip to content

fix(test): make main and options tests pass on Windows - #926

Open
jknndy wants to merge 1 commit into
guessit-io:developfrom
jknndy:win-tests
Open

fix(test): make main and options tests pass on Windows#926
jknndy wants to merge 1 commit into
guessit-io:developfrom
jknndy:win-tests

Conversation

@jknndy

@jknndy jknndy commented Jul 8, 2026

Copy link
Copy Markdown
  • Fix test_main_unicode by opening the devnull stdout redirect with encoding="utf-8", so non-ASCII filenames don't fail under Windows' default encoding.
  • Fix test_config_locations by building expected paths with os.path.join instead of hardcoded POSIX separators, matching what get_options_file_locations returns on Windows.

Let me know if you have any notes since this is my first contribution to this repo.

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