Skip to content

Commit

Permalink
Clarify comment containing 3.8 in it
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Nov 11, 2024
1 parent 0b701eb commit 62da60e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/code/test_excinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,8 +964,8 @@ def raiseos():
upframe = sys._getframe().f_back
assert upframe is not None
if upframe.f_code.co_name == "_makepath":
# Only raise with expected calls, but not via e.g. inspect for
# py38-windows.
# Only raise with expected calls, and not accidentally via 'inspect'
# See 79ae86cc3f76d69460e1c7beca4ce95e68ab80a6
raised += 1
raise OSError(2, "custom_oserror")
return orig_path_cwd()
Expand Down

0 comments on commit 62da60e

Please sign in to comment.