unittest.doModuleCleanups() swallows all but first exception · Issue #134565 · python/cpython · GitHub
Skip to content

unittest.doModuleCleanups() swallows all but first exception #134565

Description

@serhiy-storchaka

Feature or enhancement

Currently, unittest.doModuleCleanups() swallows all but first exception raised in the cleanup code. With ExceptionGroup we can handle multiple exceptions.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions