diff --git a/tests/leaks_test.py b/tests/leaks_test.py index 8d77e482..b4daff6a 100644 --- a/tests/leaks_test.py +++ b/tests/leaks_test.py @@ -85,10 +85,10 @@ def perform_open_to_numpy(iterations, image_path): @pytest.mark.skipif(sys.platform.lower() == "win32", reason="requires Unix or macOS") -@pytest.mark.skipif(machine().find("armv7") != -1, reason="skip on 32 bit arm") +@pytest.mark.skipif(machine().find("x86_64") == -1, reason="run only on x86_64") def test_open_to_numpy_mem_leaks(): mem_limit = None - for i in range(1000): + for i in range(500): perform_open_to_numpy(1, Path("images/rgb8_512_512_1_0.heic")) gc.collect() mem = _get_mem_usage()