summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/cmd/style.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/spack/spack/test/cmd/style.py b/lib/spack/spack/test/cmd/style.py
index 7a5926ae29..dec795ca99 100644
--- a/lib/spack/spack/test/cmd/style.py
+++ b/lib/spack/spack/test/cmd/style.py
@@ -87,16 +87,6 @@ def flake8_package_with_errors(scope="function"):
shutil.move(tmp, filename)
-def test_changed_files(flake8_package):
- # changed_files returns file paths relative to the root
- # directory of Spack. Convert to absolute file paths.
- files = [os.path.join(spack.paths.prefix, os.path.normpath(path)) for path in changed_files()]
-
- # There will likely be other files that have changed
- # when these tests are run
- assert flake8_package in files
-
-
def test_changed_files_from_git_rev_base(tmpdir, capfd):
"""Test arbitrary git ref as base."""
git = which("git", required=True)