Description: Stop extending datetime in test_secure_refusal_to_extract_abs_paths to prevent failing tests in arm64. Upstream has confirmed this here: https://github.com/conda/conda-package-handling/issues/74#issuecomment-739349646 Author: Nilesh Patra Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976506 Forwarded: https://github.com/conda/conda-package-handling/pull/75 Last-Update: 2020-12-06 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -8,7 +8,6 @@ import tarfile import time import zipfile -from datetime import datetime from tempfile import TemporaryDirectory from pathlib import Path @@ -407,10 +406,7 @@ assert stat.st_nlink == 1 -@pytest.mark.skipif( - datetime.now() <= datetime(2020, 12, 1), - reason="Don't understand why this doesn't behave. Punt.", -) +@pytest.mark.skipif(reason="Don't understand why this doesn't behave. Punt.") def test_secure_refusal_to_extract_abs_paths(testing_workdir): with tarfile.open("pinkie.tar.bz2", "w:bz2") as tf: open("thebrain", "w").close()