diff --git a/Tests/test_file_avif.py b/Tests/test_file_avif.py index 7a92f781a9c..52773e93722 100644 --- a/Tests/test_file_avif.py +++ b/Tests/test_file_avif.py @@ -66,15 +66,6 @@ def skip_unless_avif_encoder(codec_name: str) -> pytest.MarkDecorator: ) -def is_docker_qemu() -> bool: - try: - init_proc_exe = os.readlink("/proc/1/exe") - except (FileNotFoundError, PermissionError): - return False - else: - return "qemu" in init_proc_exe - - def has_alpha_premultiplied(im_bytes: bytes) -> bool: stream = BytesIO(im_bytes) length = len(im_bytes) @@ -782,9 +773,6 @@ class TestAvifLeaks(PillowLeakTestCase): mem_limit = MAX_THREADS * 3 * 1024 iterations = 100 - @pytest.mark.skipif( - is_docker_qemu(), reason="Skipping on cross-architecture containers" - ) def test_leak_load(self) -> None: with open(TEST_AVIF_FILE, "rb") as f: im_data = f.read()