Skip to content

test: skip test_inspect on Windows#332

Merged
blink1073 merged 1 commit into
Calysto:mainfrom
blink1073:skip-inspect-test-windows
May 10, 2026
Merged

test: skip test_inspect on Windows#332
blink1073 merged 1 commit into
Calysto:mainfrom
blink1073:skip-inspect-test-windows

Conversation

@blink1073
Copy link
Copy Markdown
Contributor

References

Description

The test_inspect test is inherited from jupyter_kernel_test.KernelTests and does not work on Windows. This PR overrides it in OctaveKernelTests with a @unittest.skipIf(sys.platform == "win32", ...) decorator (delegating to super().test_inspect()), consistent with how test_doc_does_not_hang and test_open_does_not_hang are already handled.

Changes

  • Override test_inspect in OctaveKernelTests to skip on Windows

Backwards-incompatible changes

None

Testing

N/A

AI usage

  • Some or all of the content of this PR was generated by AI.
  • The human author has carefully reviewed this PR and run this code.
  • AI tools and models used: Claude (claude-sonnet-4-6)

The inherited test_inspect from jupyter_kernel_test does not work on
Windows; override it with a skipIf decorator to avoid failures in CI.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.90%. Comparing base (d8bea28) to head (df39f39).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #332   +/-   ##
=======================================
  Coverage   92.90%   92.90%           
=======================================
  Files           6        6           
  Lines         437      437           
=======================================
  Hits          406      406           
  Misses         31       31           
Flag Coverage Δ
linux 92.67% <ø> (ø)
windows 92.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@blink1073 blink1073 merged commit d8bc23c into Calysto:main May 10, 2026
27 checks passed
@blink1073 blink1073 deleted the skip-inspect-test-windows branch May 10, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant