Remove unused copy-paste remnants in tests

This commit is contained in:
Erik Sundell
2023-05-15 10:49:56 +02:00
parent c093aa0e50
commit b366d6b63f
2 changed files with 0 additions and 3 deletions

View File

@@ -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(