summaryrefslogtreecommitdiff
path: root/tests/sandboxes
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-02-28 19:31:03 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-01 19:05:30 +0000
commitd6d33c94751bd47ca77d2b2e4ac246a2dd1328a6 (patch)
tree1739ba821e90215f89901bed10326f4142360f21 /tests/sandboxes
parent8f9b3dcdaca6f5179b79328b17b3e2c71db19e73 (diff)
downloadbuildstream-d6d33c94751bd47ca77d2b2e4ac246a2dd1328a6.tar.gz
tests: Remove unused variables
Diffstat (limited to 'tests/sandboxes')
-rw-r--r--tests/sandboxes/mounting/mount_simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sandboxes/mounting/mount_simple.py b/tests/sandboxes/mounting/mount_simple.py
index 449de43e5..65aaf209d 100644
--- a/tests/sandboxes/mounting/mount_simple.py
+++ b/tests/sandboxes/mounting/mount_simple.py
@@ -26,7 +26,7 @@ def test_bind_mount():
# Ensure the files from src are gone from target
with pytest.raises(FileNotFoundError):
- with open(os.path.join(target, 'test'), 'r') as test:
+ with open(os.path.join(target, 'test'), 'r'):
# Actual contents don't matter
pass