From b366d6b63f76262b4dd5e295ca4434f325d688d4 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 15 May 2023 10:49:56 +0200 Subject: [PATCH] Remove unused copy-paste remnants in tests --- integration-tests/test_install.py | 2 -- tests/test_conda.py | 1 - 2 files changed, 3 deletions(-) diff --git a/integration-tests/test_install.py b/integration-tests/test_install.py index 1391ddd..252060b 100644 --- a/integration-tests/test_install.py +++ b/integration-tests/test_install.py @@ -93,7 +93,6 @@ def permissions_test(group, path, *, readable=None, writable=None, dirs_only=Fal # check if the path should be writable if writable is not None: if access(path, os.W_OK) != writable: - stat = os.stat(path) info = pool.submit(debug_uid_gid).result() failures.append( "{} {} should {}be writable by {} [{}]".format( @@ -104,7 +103,6 @@ def permissions_test(group, path, *, readable=None, writable=None, dirs_only=Fal # check if the path should be readable if readable is not None: if access(path, os.R_OK) != readable: - stat = os.stat(path) info = pool.submit(debug_uid_gid).result() failures.append( "{} {} should {}be readable by {} [{}]".format( diff --git a/tests/test_conda.py b/tests/test_conda.py index 46b7cac..8c990ea 100644 --- a/tests/test_conda.py +++ b/tests/test_conda.py @@ -14,7 +14,6 @@ def prefix(): """ Provide a temporary directory with a mambaforge conda environment """ - machine = os.uname().machine installer_url, checksum = installer._mambaforge_url() with tempfile.TemporaryDirectory() as tmpdir: with conda.download_miniconda_installer(