diff options
Diffstat (limited to 'lib/spack/spack/test/spec_syntax.py')
-rw-r--r-- | lib/spack/spack/test/spec_syntax.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/spack/spack/test/spec_syntax.py b/lib/spack/spack/test/spec_syntax.py index b59828206f..fd5108c809 100644 --- a/lib/spack/spack/test/spec_syntax.py +++ b/lib/spack/spack/test/spec_syntax.py @@ -1,4 +1,4 @@ -# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) @@ -352,10 +352,10 @@ class TestSpecSyntax(object): def test_ambiguous_hash(self, mutable_database): x1 = Spec('a') x1.concretize() - x1._hash = 'xy' + x1._hash = 'xyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy' x2 = Spec('a') x2.concretize() - x2._hash = 'xx' + x2._hash = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' mutable_database.add(x1, spack.store.layout) mutable_database.add(x2, spack.store.layout) @@ -557,10 +557,6 @@ class TestSpecSyntax(object): with specfile.open('w') as f: f.write(s['libelf'].to_yaml(hash=ht.build_hash)) - print("") - print("") - print("PARSING HERE") - # Make sure we can use yaml path as dependency, e.g.: # "spack spec libdwarf ^ /path/to/libelf.yaml" specs = sp.parse('libdwarf ^ {0}'.format(specfile.strpath)) |