Skip to content

Commit c3bd399

Browse files
authored
DOC: add an origin link to the add_note backwards compat workaround
1 parent f450b95 commit c3bd399

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

array_api_tests/pytest_helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def add_note(exc, note):
3838
3939
For Python 3.11+, this uses the built-in exc.add_note() method.
4040
For earlier versions, it manually appends to exc.__notes__.
41+
42+
https://github.com/HypothesisWorks/hypothesis/issues/4606#issuecomment-3568140174
4143
"""
4244
try:
4345
exc.add_note(note)

0 commit comments

Comments
 (0)