Skip to content

Commit

Permalink
skip notes tests before 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
camillol committed Dec 6, 2024
1 parent bf868d4 commit 4b6a799
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_tracebacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def test_simple_exception():
] == trace.stacks


@pytest.mark.skipif(sys.version_info < (3, 11), reason="Requires Python 3.11 or higher")
def test_simple_exception_with_notes():
"""
Notes are included in the traceback.
Expand Down Expand Up @@ -591,6 +592,7 @@ def test_json_traceback():
] == result


@pytest.mark.skipif(sys.version_info < (3, 11), reason="Requires Python 3.11 or higher")
def test_json_traceback_with_notes():
"""
Tracebacks are formatted to JSON with all information.
Expand Down

0 comments on commit 4b6a799

Please sign in to comment.