summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-01-05 19:25:24 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-05 10:25:24 -0800
commit9271c69b5d529d49e23ab93df6ccc5464e6bf39d (patch)
tree46c7bea47d65705302f55c6f87c1a216ea83a2db
parent3dd4a01a5e737a08a211f4e0f58da0a725e70818 (diff)
downloadspack-9271c69b5d529d49e23ab93df6ccc5464e6bf39d.tar.gz
spack-9271c69b5d529d49e23ab93df6ccc5464e6bf39d.tar.bz2
spack-9271c69b5d529d49e23ab93df6ccc5464e6bf39d.tar.xz
spack-9271c69b5d529d49e23ab93df6ccc5464e6bf39d.zip
test: fixed 'refresh_builtin_mock' fixture (#2748)
-rw-r--r--lib/spack/spack/test/conftest.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/spack/spack/test/conftest.py b/lib/spack/spack/test/conftest.py
index 11127d8735..79d9018c27 100644
--- a/lib/spack/spack/test/conftest.py
+++ b/lib/spack/spack/test/conftest.py
@@ -122,7 +122,6 @@ def builtin_mock(repo_path):
def refresh_builtin_mock(builtin_mock, repo_path):
"""Refreshes the state of spack.repo"""
# Get back the real repository
- spack.repo.swap(builtin_mock.real)
mock_repo = copy.deepcopy(repo_path)
spack.repo.swap(mock_repo)
return builtin_mock