-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
Description
Documentation
The following code snippet on Exceptions does not run, it errors on "tests" not defined.
Suggest adding line: tests = ['testrun1.exe', 'testrun2.exe']
before "for" loop, then the intended exception is raised.
excs = []
for test in tests:
try:
test.run()
except Exception as e:
excs.append(e)
if excs:
raise ExceptionGroup("Test Failures", excs)
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
Projects
Status
Todo