Skip to content

Commit

Permalink
FIX: update hashes for GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Dec 20, 2024
1 parent 01559dc commit 1d67318
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/sympy/test_cache.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import logging
import os
from typing import TYPE_CHECKING, ClassVar

import pytest
Expand All @@ -17,6 +18,9 @@
from qrules.transition import SpinFormalism


_GH = "CI" in os.environ and os.uname().sysname != "Darwin"


@pytest.mark.parametrize(
("expected_hash", "assumptions"),
[
Expand Down Expand Up @@ -81,8 +85,8 @@ def test_reaction(self, expected_hash: str, formalism: SpinFormalism):
@pytest.mark.parametrize(
("expected_hash", "formalism"),
[
("01bb112", "canonical-helicity"),
("0638a0e", "helicity"),
("87c4839" if _GH else "01bb112", "canonical-helicity"),
("c147bdd" if _GH else "0638a0e", "helicity"),
],
ids=["canonical-helicity", "helicity"],
)
Expand Down

0 comments on commit 1d67318

Please sign in to comment.