Skip to content

fix(test): skip symlink save test when symlinks are unavailable - #21

Merged
AlexanderSoftCode merged 1 commit into
mainfrom
fix/skip-symlink-test-on-windows
Oct 31, 2026
Merged

AlexanderSoftCode merged 1 commit into
mainfrom
fix/skip-symlink-test-on-windows

Conversation

@AlexanderSoftCode

Copy link
Copy Markdown
Owner

Context

Creating symlinks on Windows requires Developer Mode or admin rights. Without
them, test_save_replaces_symlink_instead_of_following_it errored with WinError
1314 during setup, which looks like a broken build. The test now skips when
os.symlink raises OSError, the same way the permissions test skips on Windows.
Single commit.

Behavior changes

None

Testing

  • python -m unittest discover tests: 1158 tests pass (K skipped) on Windows.
  • No new regression tests. The existing symlink test is now skipped, not errored,
    when symlinks are unavailable.
  • Tested on RTX 3050 Mobile for GPU related tests.

@AlexanderSoftCode
AlexanderSoftCode merged commit 5444454 into main Oct 31, 2026
5 checks passed
Creating symlinks on Windows requires Developer Mode or admin rights.
Without them, test_save_replaces_symlink_instead_of_following_it errored
with WinError 1314 during setup. Skip the test when os.symlink raises
OSError, the same way the permissions test skips on Windows.
@AlexanderSoftCode
AlexanderSoftCode deleted the fix/skip-symlink-test-on-windows branch November 1, 2026 05:21
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