Skip to content

Commit

Permalink
fix fallback definition for _sentinel in tb_format
Browse files Browse the repository at this point in the history
  • Loading branch information
d-maurer committed Dec 10, 2024
1 parent 13f3b74 commit 314656b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zope/testrunner/tb_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
try:
from traceback import _sentinel
except ImportError:
# before 3.12
_sentinel = False
# before 3.10
_sentinel = None


def _iter_chain(exc, custom_tb=None, seen=None):
Expand Down

0 comments on commit 314656b

Please sign in to comment.