summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-08-18 19:22:50 +0200
committerGitHub <noreply@github.com>2022-08-18 10:22:50 -0700
commit3c6b5b8afcae65a046d93c23a4a8d02187083b75 (patch)
tree63def4e3b7e20eae85bb848eb70091b3eda5dc6d
parent1cdc50e3f66180859b008fd820b7b60dacc3d672 (diff)
downloadspack-3c6b5b8afcae65a046d93c23a4a8d02187083b75.tar.gz
spack-3c6b5b8afcae65a046d93c23a4a8d02187083b75.tar.bz2
spack-3c6b5b8afcae65a046d93c23a4a8d02187083b75.tar.xz
spack-3c6b5b8afcae65a046d93c23a4a8d02187083b75.zip
Remove unused argument in test fixture (#32236)
The argument is very likely a typo, and was meant to be given to the fixture decorator. Since the value being passed is the default, let's just remove it.
-rw-r--r--lib/spack/spack/test/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/test/conftest.py b/lib/spack/spack/test/conftest.py
index 1bf7af5f3b..d7bdfe6ac8 100644
--- a/lib/spack/spack/test/conftest.py
+++ b/lib/spack/spack/test/conftest.py
@@ -85,7 +85,7 @@ def override_git_repos_cache_path(tmpdir):
@pytest.fixture
-def mock_git_version_info(tmpdir, override_git_repos_cache_path, scope="function"):
+def mock_git_version_info(tmpdir, override_git_repos_cache_path):
"""Create a mock git repo with known structure
The structure of commits in this repo is as follows::