Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatera committed Nov 29, 2024
1 parent 46a60c7 commit 280a852
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/test_mathics_precedence.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
"""
Test precedences
"""

try:
from test.mathics_helper import check_evaluation, evaluate, session

MATHICS_NOT_INSTALLED = False
except ValueError:
except ModuleNotFoundError:
MATHICS_NOT_INSTALLED = True

import pytest
Expand Down Expand Up @@ -544,9 +546,8 @@
"Information",
]

@pytest.mark.skipif(
MATHICS_NOT_INSTALLED, reason="Requires Mathics-core installed"
)

@pytest.mark.skipif(MATHICS_NOT_INSTALLED, reason="Requires Mathics-core installed")
@pytest.mark.parametrize(
(
"symbol",
Expand Down Expand Up @@ -580,9 +581,8 @@ def test_precedence_values(symbol, prec):
expected_messages=None,
)

@pytest.mark.skipif(
MATHICS_NOT_INSTALLED, reason="Requires Mathics-core installed"
)

@pytest.mark.skipif(MATHICS_NOT_INSTALLED, reason="Requires Mathics-core installed")
def test_precedence_order():
"""
Test the precedence order.
Expand Down

0 comments on commit 280a852

Please sign in to comment.