[@spackbot] updating style on behalf of psakievich
This commit is contained in:
parent
36fb2354e1
commit
08495e066c
@ -2048,9 +2048,7 @@ def define_ad_hoc_versions_from_specs(
|
|||||||
# best possible, so they're guaranteed to be used preferentially.
|
# best possible, so they're guaranteed to be used preferentially.
|
||||||
version = s.versions.concrete
|
version = s.versions.concrete
|
||||||
|
|
||||||
if version is None or (
|
if version is None or (any((v == version) for v in self.possible_versions[s.name])):
|
||||||
any((v == version) for v in self.possible_versions[s.name])
|
|
||||||
):
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if require_checksum and not _is_checksummed_git_version(version):
|
if require_checksum and not _is_checksummed_git_version(version):
|
||||||
|
@ -2935,9 +2935,7 @@ def test_git_ref_version_can_be_reused(
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.only_clingo("clingo only reuse feature being tested")
|
@pytest.mark.only_clingo("clingo only reuse feature being tested")
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize("standard_version", ["2.0.0", "2.1.5", "2.1.6"])
|
||||||
"standard_version",["2.0.0", "2.1.5", "2.1.6"]
|
|
||||||
)
|
|
||||||
def test_reuse_prefers_standard_over_git_versions(
|
def test_reuse_prefers_standard_over_git_versions(
|
||||||
standard_version, install_mockery_mutable_config, do_not_check_runtimes_on_reuse
|
standard_version, install_mockery_mutable_config, do_not_check_runtimes_on_reuse
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user