mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Remove unused copy-paste remnants in tests
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user