Skip to content

Commit d876796

Browse files
Clarify comment containing 3.8 in it
1 parent a8bd222 commit d876796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/code/test_excinfo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,8 +964,8 @@ def raiseos():
964964
upframe = sys._getframe().f_back
965965
assert upframe is not None
966966
if upframe.f_code.co_name == "_makepath":
967-
# Only raise with expected calls, but not via e.g. inspect for
968-
# py38-windows. (?)
967+
# Only raise with expected calls, and not accidentally via 'inspect'
968+
# See 79ae86cc3f76d69460e1c7beca4ce95e68ab80a6
969969
raised += 1
970970
raise OSError(2, "custom_oserror")
971971
return orig_path_cwd()

0 commit comments

Comments
 (0)