Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide#119232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
willingc merged 5 commits intopython:mainfromshaunagm:update-mock-autospec-docs
May 20, 2024
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Make autospeccing note text more succint and lint whitespace
  • Loading branch information
@shaunagm
shaunagm committedMay 20, 2024
commit71aabe890c0734ef3914df9b490024baf946b516
5 changes: 2 additions & 3 deletionsDoc/library/unittest.mock.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2592,9 +2592,8 @@ broken.

.. versionchanged:: 3.5

Before 3.5, Mocks suffered from an additional flaw where tests with a typo in
the word assert would silently pass when they should raise an error. You can still
achieve this behavior by passing ``unsafe=True`` to the Mock class.
Before 3.5, tests with a typo in the word assert would silently pass when they should
raise an error. You can still achieve this behavior by passing ``unsafe=True`` to Mock.

Note that this is another reason why you need integration tests as well as
unit tests. Testing everything in isolation is all fine and dandy, but if you
Expand Down

[8]ページ先頭

©2009-2026 Movatter.jp