forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add assertDoesNotRaise contextmanager (pantsbuild#9113)
### Problem It would be nice to be explicit about the intent when we're trying to make sure something ran without an exception and we *really, really* don't care about, or don't have any meaningful return value. ### Solution - Add a `self.assertDoesNotRaise()` contextmanager.
- Loading branch information
1 parent
064a74a
commit b14b7f5
Showing
2 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters