From 7f3ea6c55621178b2296e1fa89efe90666aa4fac Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Tue, 17 Oct 2023 22:34:18 +0200 Subject: [PATCH] Skip test failing on 32-bit architectures (#290) --- tests/test_index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_index.py b/tests/test_index.py index 71dbb766..9a9e07d0 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -2,6 +2,7 @@ import ctypes import pickle +import sys import tempfile import unittest from typing import Iterator @@ -451,6 +452,7 @@ def test_custom_filenames(self) -> None: self.assertTrue(len(hits), 10) self.assertEqual(hits, [0, 4, 16, 27, 35, 40, 47, 50, 76, 80]) + @pytest.mark.skipif(not sys.maxsize > 2**32, reason="Fails on 32bit systems") def test_interleaving(self) -> None: """Streaming against a persisted index without interleaving"""