Skip to content

test: fix eval-smoke + yolo tests on Windows#16

Merged
pgil256 merged 1 commit into
mainfrom
fix/windows-tests
Jun 8, 2026
Merged

test: fix eval-smoke + yolo tests on Windows#16
pgil256 merged 1 commit into
mainfrom
fix/windows-tests

Conversation

@pgil256

@pgil256 pgil256 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Two test-only fixes so the suite passes on Windows (no-ops on Linux CI):

  • _write_manifest (eval-smoke) now TOML-escapes backslashes. tmp_path manifests embed C:\Users\..., and \U is an invalid TOML unicode escape, so all 8 smoke tests raised an Invalid-hex-value error only on Windows.
  • The yolo default-checkpoint assertion uses Path.as_posix() instead of a hard-coded forward-slash str-endswith check.

Context: the other 17 local failures were a missing cv2 module -- the dev extra already declares opencv-python-headless, so installing the dev extra covers them; no code change needed.

Local result: 378 passed, 4 skipped (was 26 failed).

Generated with Claude Code

- _write_manifest now TOML-escapes backslashes, so tmp_path manifests with
  C:\... paths parse (\U was an invalid TOML unicode escape, so the 8 smoke
  tests failed only on Windows).
- yolo default-checkpoint assertion uses Path.as_posix() instead of a
  hard-coded forward-slash str().endswith().

No-op on POSIX CI; unblocks the local Windows run. The 17 video tests also
needed cv2, which the dev extra already declares (pip install -e .[dev]).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tab_vision Ready Ready Preview, Comment Jun 8, 2026 6:48pm

@pgil256 pgil256 merged commit 03eb19a into main Jun 8, 2026
4 checks passed
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