summaryrefslogtreecommitdiff
path: root/tests/sources/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/local.py')
-rw-r--r--tests/sources/local.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/sources/local.py b/tests/sources/local.py
index 0da9e8cc1..0b0227d1c 100644
--- a/tests/sources/local.py
+++ b/tests/sources/local.py
@@ -30,7 +30,7 @@ def test_non_regular_file_or_directory(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)
localfile = os.path.join(project, 'file.txt')
- for file_type in filetypegenerator.generate_file_types(localfile):
+ for _file_type in filetypegenerator.generate_file_types(localfile):
result = cli.run(project=project, args=[
'show', 'target.bst'
])
@@ -130,7 +130,6 @@ def test_stage_symlink(cli, tmpdir, datafiles):
@pytest.mark.datafiles(os.path.join(DATA_DIR, 'file-exists'))
def test_stage_file_exists(cli, tmpdir, datafiles):
project = os.path.join(datafiles.dirname, datafiles.basename)
- checkoutdir = os.path.join(str(tmpdir), "checkout")
# Build, checkout
result = cli.run(project=project, args=['build', 'target.bst'])