From d1042f02b639891b306060c4d0f291a255494ca3 Mon Sep 17 00:00:00 2001 From: Samantha Abbott <52800387+sathabbott@users.noreply.github.com> Date: Wed, 30 Sep 2026 20:08:24 -0500 Subject: [PATCH] Skip test_compressed_size.py without the root-io-spec submodule It reads root-io-spec's container/compress-*.root fixtures but, unlike the other modules that use them, had no skip, so its 4 cases failed in a checkout without the submodule. Follow-up to #130, which added it. Assisted-by: claude-code:claude-opus-5-5 --- tests/test_compressed_size.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_compressed_size.py b/tests/test_compressed_size.py index 6117873..4a7ec08 100644 --- a/tests/test_compressed_size.py +++ b/tests/test_compressed_size.py @@ -8,6 +8,9 @@ from rootfilespec.serializable import BufferContext, ReadBuffer DATA = Path(__file__).parent.parent / "reference" / "root-io-spec" / "data" +pytestmark = pytest.mark.skipif( + not DATA.exists(), reason="reference/root-io-spec not checked out" +) @pytest.mark.parametrize("algorithm", ["zlib", "lzma", "lz4", "zstd"])