Skip all tests using problematic fixture on python 2.7 (#32768)

This commit is contained in:
Peter Scheibel 2022-09-23 00:29:48 -07:00 committed by GitHub
parent 8f5b847cb0
commit 0a050785e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1188,6 +1188,9 @@ def mock_fn(*args, **kwargs):
second_spec.concretize()
assert first_spec.dag_hash() != second_spec.dag_hash()
@pytest.mark.skipif(
sys.version_info[:2] == (2, 7), reason="Fixture fails intermittently with Python 2.7"
)
@pytest.mark.regression("20292")
@pytest.mark.parametrize(
"context",
@ -1510,6 +1513,9 @@ def test_add_microarchitectures_on_explicit_request(self):
s = Spec("python target=k10").concretized()
assert s.satisfies("target=k10")
@pytest.mark.skipif(
sys.version_info[:2] == (2, 7), reason="Fixture fails intermittently with Python 2.7"
)
@pytest.mark.regression("29201")
def test_delete_version_and_reuse(self, mutable_database, repo_with_changing_recipe):
"""Test that we can reuse installed specs with versions not