From df39f39b23dd359488b6d95bf9213344be44738c Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 9 May 2026 21:06:35 -0500 Subject: [PATCH] test: skip test_inspect on Windows The inherited test_inspect from jupyter_kernel_test does not work on Windows; override it with a skipIf decorator to avoid failures in CI. --- test_octave_kernel.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_octave_kernel.py b/test_octave_kernel.py index 4b8d433..933f7c3 100644 --- a/test_octave_kernel.py +++ b/test_octave_kernel.py @@ -67,6 +67,10 @@ def tearDown(self) -> None: code_inspect_sample = "ones" + @unittest.skipIf(sys.platform == "win32", "Test does not work on windows") + def test_inspect(self) -> None: + super().test_inspect() + @unittest.skipIf(sys.platform == "win32", "Test does not work on windows") def test_doc_does_not_hang(self) -> None: """Test that doc command completes without hanging (issue #184)."""