| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:b37dda75-94d1-6e9f-18dd-795b4aa0ac35 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 8DD2:1FE434:24E3386:3065B05:6B025679 |
| html-safe-nonce | 7a592b866d6f22754908d0b74edb3f89c9c0aabeaee175f9e3b27bdab6f3bc4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REQyOjFGRTQzNDoyNEUzMzg2OjMwNjVCMDU6NkIwMjU2NzkiLCJ2aXNpdG9yX2lkIjoiNDU0NTY5MTA2MDI4NTg4ODEyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4452b2d39bf487ba0ba85e1853b6a5cf369e1f39c6f48a1471e7cdc196ff746b |
| hovercard-subject-tag | repository:1447790285 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest/mock.py |
| twitter:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| og:image:alt | The Python programming language. Contribute to sidlovescoding/Cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/sidlovescoding/Cpython git https://github.com/sidlovescoding/Cpython.git |
| octolytics-dimension-user_id | 207958570 |
| octolytics-dimension-user_login | sidlovescoding |
| octolytics-dimension-repository_id | 1447790285 |
| octolytics-dimension-repository_nwo | sidlovescoding/Cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 81598961 |
| octolytics-dimension-repository_parent_nwo | python/cpython |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest/mock.py#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fcommits%2Fsid-python%2FLib%2Funittest%2Fmock.py |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fcommits%2Fsid-python%2FLib%2Funittest%2Fmock.py |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommits%2Fshow&source=header-repo&source_repo=sidlovescoding%2FCpython |
| Reload | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest/mock.py |
| Reload | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest/mock.py |
| Reload | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest/mock.py |
| sidlovescoding | https://github.com/sidlovescoding |
| Cpython | https://github.com/sidlovescoding/Cpython |
| Code | https://github.com/sidlovescoding/Cpython |
| Pull requests1 (1) | https://github.com/sidlovescoding/Cpython/pulls |
| Actions | https://github.com/sidlovescoding/Cpython/actions |
| Projects | https://github.com/sidlovescoding/Cpython/projects |
| Security and quality | https://github.com/sidlovescoding/Cpython/security |
| Insights | https://github.com/sidlovescoding/Cpython/pulse |
| https://github.com/sidlovescoding/Cpython |
| Cpython | https://github.com/sidlovescoding/Cpython/commits |
| Lib | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib |
| unittest | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest |
| mock.py | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest/mock.py |
| sid-python | https://github.com/sidlovescoding/Cpython/tree/sid-python |
| [3.14] gh-156970: Set `Mock.return_value`'s docstring (GH-156971) (#156982) | https://github.com/sidlovescoding/Cpython/commit/5532330b7ebaf19bb7e59b2e7a03b55dfda81dcd |
| 5532330 | https://github.com/sidlovescoding/Cpython/commit/5532330b7ebaf19bb7e59b2e7a03b55dfda81dcd |
| https://github.com/sidlovescoding/Cpython/blob/5532330b7ebaf19bb7e59b2e7a03b55dfda81dcd/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/5532330b7ebaf19bb7e59b2e7a03b55dfda81dcd |
| [3.14] gh-150484: Fix mock_open __exit__ with contextlib.ExitStack (GH-151829) | https://github.com/sidlovescoding/Cpython/commit/85fa295073a0291e517ae6bd24a26e03b5925b75 |
| https://github.com/factnn |
| factnn | https://github.com/sidlovescoding/Cpython/commits?author=factnn |
| 85fa295 | https://github.com/sidlovescoding/Cpython/commit/85fa295073a0291e517ae6bd24a26e03b5925b75 |
| https://github.com/sidlovescoding/Cpython/blob/85fa295073a0291e517ae6bd24a26e03b5925b75/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/85fa295073a0291e517ae6bd24a26e03b5925b75 |
| [3.14] gh-150175: Fix ThreadingMock call_count race condition (GH-150176) (#150181) | https://github.com/sidlovescoding/Cpython/commit/8053ead86b8ca5f97472366a3623c53ee3a15350 |
| miss-islington | https://github.com/sidlovescoding/Cpython/commits?author=miss-islington |
| saisneha196 | https://github.com/sidlovescoding/Cpython/commits?author=saisneha196 |
| 8053ead | https://github.com/sidlovescoding/Cpython/commit/8053ead86b8ca5f97472366a3623c53ee3a15350 |
| https://github.com/sidlovescoding/Cpython/blob/8053ead86b8ca5f97472366a3623c53ee3a15350/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/8053ead86b8ca5f97472366a3623c53ee3a15350 |
| [3.14] gh-145754: Update signature retrieval in unittest.mock to use forwardref annotation format (GH-145756) (#146191) | https://github.com/sidlovescoding/Cpython/commit/7ba9580f00d3ae2c79cb43f5663725e6d786ef7c |
| miss-islington | https://github.com/sidlovescoding/Cpython/commits?author=miss-islington |
| mschoettle | https://github.com/sidlovescoding/Cpython/commits?author=mschoettle |
| 7ba9580 | https://github.com/sidlovescoding/Cpython/commit/7ba9580f00d3ae2c79cb43f5663725e6d786ef7c |
| https://github.com/sidlovescoding/Cpython/blob/7ba9580f00d3ae2c79cb43f5663725e6d786ef7c/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/7ba9580f00d3ae2c79cb43f5663725e6d786ef7c |
| [3.14] gh-142651: use `NonCallableMock._lock` for thread safety of `call_count` (GH-142922) (#145739) | https://github.com/sidlovescoding/Cpython/commit/a5ed66df8ac5ef951f39a4e5591ac3895db4d140 |
| miss-islington | https://github.com/sidlovescoding/Cpython/commits?author=miss-islington |
| kumaraditya303 | https://github.com/sidlovescoding/Cpython/commits?author=kumaraditya303 |
| a5ed66d | https://github.com/sidlovescoding/Cpython/commit/a5ed66df8ac5ef951f39a4e5591ac3895db4d140 |
| https://github.com/sidlovescoding/Cpython/blob/a5ed66df8ac5ef951f39a4e5591ac3895db4d140/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/a5ed66df8ac5ef951f39a4e5591ac3895db4d140 |
| [3.14] gh-142651: make `Mock.call_count` thread-safe (GH-142656) (#142743) | https://github.com/sidlovescoding/Cpython/commit/f17281741c623eefe364ae4d7fd643c44bffe208 |
| miss-islington | https://github.com/sidlovescoding/Cpython/commits?author=miss-islington |
| chaope | https://github.com/sidlovescoding/Cpython/commits?author=chaope |
| f172817 | https://github.com/sidlovescoding/Cpython/commit/f17281741c623eefe364ae4d7fd643c44bffe208 |
| https://github.com/sidlovescoding/Cpython/blob/f17281741c623eefe364ae4d7fd643c44bffe208/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/f17281741c623eefe364ae4d7fd643c44bffe208 |
| [3.14] gh-135368: Fix mocks on dataclass specs with `instance=True` (GH-135421) (#135503) | https://github.com/sidlovescoding/Cpython/commit/79df5d1c54f9c2aaccae48a75e40ac629ed0cca0 |
| 79df5d1 | https://github.com/sidlovescoding/Cpython/commit/79df5d1c54f9c2aaccae48a75e40ac629ed0cca0 |
| https://github.com/sidlovescoding/Cpython/blob/79df5d1c54f9c2aaccae48a75e40ac629ed0cca0/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/79df5d1c54f9c2aaccae48a75e40ac629ed0cca0 |
| gh-104745: Limit starting a patcher more than once without stopping it (#126649) | https://github.com/sidlovescoding/Cpython/commit/1e40c5ba47780ddd91868abb3aa064f5ba3015e4 |
| 1e40c5b | https://github.com/sidlovescoding/Cpython/commit/1e40c5ba47780ddd91868abb3aa064f5ba3015e4 |
| https://github.com/sidlovescoding/Cpython/blob/1e40c5ba47780ddd91868abb3aa064f5ba3015e4/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/1e40c5ba47780ddd91868abb3aa064f5ba3015e4 |
| gh-124176: Add special support for dataclasses to `create_autospec` (#124429) | https://github.com/sidlovescoding/Cpython/commit/3a0e7f57628466aedcaaf6c5ff7c8224f5155a2c |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 3a0e7f5 | https://github.com/sidlovescoding/Cpython/commit/3a0e7f57628466aedcaaf6c5ff7c8224f5155a2c |
| https://github.com/sidlovescoding/Cpython/blob/3a0e7f57628466aedcaaf6c5ff7c8224f5155a2c/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/3a0e7f57628466aedcaaf6c5ff7c8224f5155a2c |
| gh-124234: Improve docs for `Mock.reset_mock` (#124237) | https://github.com/sidlovescoding/Cpython/commit/19fed6cf6eb51044fd0c02c6338259e2dd7fd462 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 19fed6c | https://github.com/sidlovescoding/Cpython/commit/19fed6cf6eb51044fd0c02c6338259e2dd7fd462 |
| https://github.com/sidlovescoding/Cpython/blob/19fed6cf6eb51044fd0c02c6338259e2dd7fd462/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/19fed6cf6eb51044fd0c02c6338259e2dd7fd462 |
| gh-123934: Fix `MagicMock` not to reset magic method return values (#124038) | https://github.com/sidlovescoding/Cpython/commit/7628f67d55cb65bad9c9266e0457e468cd7e3775 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 7628f67 | https://github.com/sidlovescoding/Cpython/commit/7628f67d55cb65bad9c9266e0457e468cd7e3775 |
| https://github.com/sidlovescoding/Cpython/blob/7628f67d55cb65bad9c9266e0457e468cd7e3775/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/7628f67d55cb65bad9c9266e0457e468cd7e3775 |
| Remove unused variable in `MagicMixin._mock_set_magics` (#124092) | https://github.com/sidlovescoding/Cpython/commit/1de46136b916736487019c2f78af2bf0cadd7ecd |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 1de4613 | https://github.com/sidlovescoding/Cpython/commit/1de46136b916736487019c2f78af2bf0cadd7ecd |
| https://github.com/sidlovescoding/Cpython/blob/1de46136b916736487019c2f78af2bf0cadd7ecd/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/1de46136b916736487019c2f78af2bf0cadd7ecd |
| gh-122858: Deprecate `asyncio.iscoroutinefunction` (#122875) | https://github.com/sidlovescoding/Cpython/commit/bc9d92c67933917b474e61905451c6408c68e71d |
| Wulian233 | https://github.com/sidlovescoding/Cpython/commits?author=Wulian233 |
| kumaraditya303 | https://github.com/sidlovescoding/Cpython/commits?author=kumaraditya303 |
| bc9d92c | https://github.com/sidlovescoding/Cpython/commit/bc9d92c67933917b474e61905451c6408c68e71d |
| https://github.com/sidlovescoding/Cpython/blob/bc9d92c67933917b474e61905451c6408c68e71d/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/bc9d92c67933917b474e61905451c6408c68e71d |
| gh-117765: Improve documentation for `mocker.patch.dict` (#121755) | https://github.com/sidlovescoding/Cpython/commit/8303d32ff55945c5b38eeeaf1b1811dbcf8aa9be |
| https://github.com/GovernmentPlates |
| GovernmentPlates | https://github.com/sidlovescoding/Cpython/commits?author=GovernmentPlates |
| 8303d32 | https://github.com/sidlovescoding/Cpython/commit/8303d32ff55945c5b38eeeaf1b1811dbcf8aa9be |
| https://github.com/sidlovescoding/Cpython/blob/8303d32ff55945c5b38eeeaf1b1811dbcf8aa9be/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/8303d32ff55945c5b38eeeaf1b1811dbcf8aa9be |
| gh-120732: Fix `name` passing to `Mock`, when using kwargs to `create_autospec` (#120737) | https://github.com/sidlovescoding/Cpython/commit/1e4815692f6c8a37a3974d0d7d2025494d026d76 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 1e48156 | https://github.com/sidlovescoding/Cpython/commit/1e4815692f6c8a37a3974d0d7d2025494d026d76 |
| https://github.com/sidlovescoding/Cpython/blob/1e4815692f6c8a37a3974d0d7d2025494d026d76/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/1e4815692f6c8a37a3974d0d7d2025494d026d76 |
| gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setattr__ (#120019) | https://github.com/sidlovescoding/Cpython/commit/9e9ee50421c857b443e2060274f17fb884d54473 |
| https://github.com/blhsing |
| blhsing | https://github.com/sidlovescoding/Cpython/commits?author=blhsing |
| 9e9ee50 | https://github.com/sidlovescoding/Cpython/commit/9e9ee50421c857b443e2060274f17fb884d54473 |
| https://github.com/sidlovescoding/Cpython/blob/9e9ee50421c857b443e2060274f17fb884d54473/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/9e9ee50421c857b443e2060274f17fb884d54473 |
| gh-119600: mock: do not access attributes of original when new_callable is set (#119601) | https://github.com/sidlovescoding/Cpython/commit/422c4fc855afd18bcc6415902ea1d85a50cb7ce1 |
| https://github.com/rbtcollins |
| rbtcollins | https://github.com/sidlovescoding/Cpython/commits?author=rbtcollins |
| 422c4fc | https://github.com/sidlovescoding/Cpython/commit/422c4fc855afd18bcc6415902ea1d85a50cb7ce1 |
| https://github.com/sidlovescoding/Cpython/blob/422c4fc855afd18bcc6415902ea1d85a50cb7ce1/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/422c4fc855afd18bcc6415902ea1d85a50cb7ce1 |
| Remove almost all unpaired backticks in docstrings (#119231) | https://github.com/sidlovescoding/Cpython/commit/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b |
| https://github.com/geofft |
| geofft | https://github.com/sidlovescoding/Cpython/commits?author=geofft |
| ef17252 | https://github.com/sidlovescoding/Cpython/commit/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b |
| https://github.com/sidlovescoding/Cpython/blob/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b |
| gh-90848: Fixed create_autospec ignoring configure_mock style kwargs (#118163) | https://github.com/sidlovescoding/Cpython/commit/b28a3339e4c63ea3a801dba9bbbc6af5af42c3a0 |
| https://github.com/infohash |
| infohash | https://github.com/sidlovescoding/Cpython/commits?author=infohash |
| b28a333 | https://github.com/sidlovescoding/Cpython/commit/b28a3339e4c63ea3a801dba9bbbc6af5af42c3a0 |
| https://github.com/sidlovescoding/Cpython/blob/b28a3339e4c63ea3a801dba9bbbc6af5af42c3a0/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/b28a3339e4c63ea3a801dba9bbbc6af5af42c3a0 |
| gh-75988: Fix issues with autospec ignoring wrapped object (#115223) | https://github.com/sidlovescoding/Cpython/commit/735fc2cbbcf875c359021b5b2af7f4c29f4cf66d |
| https://github.com/infohash |
| infohash | https://github.com/sidlovescoding/Cpython/commits?author=infohash |
| 735fc2c | https://github.com/sidlovescoding/Cpython/commit/735fc2cbbcf875c359021b5b2af7f4c29f4cf66d |
| https://github.com/sidlovescoding/Cpython/blob/735fc2cbbcf875c359021b5b2af7f4c29f4cf66d/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/735fc2cbbcf875c359021b5b2af7f4c29f4cf66d |
| gh-113569: Display calls in Mock.assert_has_calls failure when empty (GH-113573) | https://github.com/sidlovescoding/Cpython/commit/1600d78e2d090319930c6538b496ffcca120a696 |
| https://github.com/wookie184 |
| wookie184 | https://github.com/sidlovescoding/Cpython/commits?author=wookie184 |
| 1600d78 | https://github.com/sidlovescoding/Cpython/commit/1600d78e2d090319930c6538b496ffcca120a696 |
| https://github.com/sidlovescoding/Cpython/blob/1600d78e2d090319930c6538b496ffcca120a696/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/1600d78e2d090319930c6538b496ffcca120a696 |
| gh-113407: Fix import of unittest.mock when CPython is built without docstrings (GH-113408) | https://github.com/sidlovescoding/Cpython/commit/0c574540e07792cef5487aef61ab38bfe404060f |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/sidlovescoding/Cpython/commits?author=serhiy-storchaka |
| 0c57454 | https://github.com/sidlovescoding/Cpython/commit/0c574540e07792cef5487aef61ab38bfe404060f |
| https://github.com/sidlovescoding/Cpython/blob/0c574540e07792cef5487aef61ab38bfe404060f/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/0c574540e07792cef5487aef61ab38bfe404060f |
| gh-111019: Align expected and actual titles in test output (#111020) | https://github.com/sidlovescoding/Cpython/commit/77dbd956090aac66e264d9d640f6adb6b0930b87 |
| https://github.com/morisja |
| morisja | https://github.com/sidlovescoding/Cpython/commits?author=morisja |
| 77dbd95 | https://github.com/sidlovescoding/Cpython/commit/77dbd956090aac66e264d9d640f6adb6b0930b87 |
| https://github.com/sidlovescoding/Cpython/blob/77dbd956090aac66e264d9d640f6adb6b0930b87/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/77dbd956090aac66e264d9d640f6adb6b0930b87 |
| Remove unused branches from mock module (#106617) | https://github.com/sidlovescoding/Cpython/commit/e6379f72cbc60f6b3c5676f9e225d4f145d5693f |
| https://github.com/cjw296 |
| cjw296 | https://github.com/sidlovescoding/Cpython/commits?author=cjw296 |
| e6379f7 | https://github.com/sidlovescoding/Cpython/commit/e6379f72cbc60f6b3c5676f9e225d4f145d5693f |
| https://github.com/sidlovescoding/Cpython/blob/e6379f72cbc60f6b3c5676f9e225d4f145d5693f/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/e6379f72cbc60f6b3c5676f9e225d4f145d5693f |
| GH-61215: threadingmock: Remove unused branch for `timeout` (#106591) | https://github.com/sidlovescoding/Cpython/commit/3e23fa71f43fb225ca29a931644d1100e2f4d6b8 |
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/sidlovescoding/Cpython/commits?author=mariocj89 |
| 3e23fa7 | https://github.com/sidlovescoding/Cpython/commit/3e23fa71f43fb225ca29a931644d1100e2f4d6b8 |
| https://github.com/sidlovescoding/Cpython/blob/3e23fa71f43fb225ca29a931644d1100e2f4d6b8/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/3e23fa71f43fb225ca29a931644d1100e2f4d6b8 |
| gh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (#106414) | https://github.com/sidlovescoding/Cpython/commit/2dfc7fae787e65726f24bfe9efe05418b05ee8e2 |
| https://github.com/mariocj89 |
| mariocj89 | https://github.com/sidlovescoding/Cpython/commits?author=mariocj89 |
| 2dfc7fa | https://github.com/sidlovescoding/Cpython/commit/2dfc7fae787e65726f24bfe9efe05418b05ee8e2 |
| https://github.com/sidlovescoding/Cpython/blob/2dfc7fae787e65726f24bfe9efe05418b05ee8e2/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/2dfc7fae787e65726f24bfe9efe05418b05ee8e2 |
| gh-61215: New mock to wait for multi-threaded events to happen (#16094) | https://github.com/sidlovescoding/Cpython/commit/d65b783b6966d233467a48ef633afb4aff9d5df8 |
| mariocj89 | https://github.com/sidlovescoding/Cpython/commits?author=mariocj89 |
| tirkarthi | https://github.com/sidlovescoding/Cpython/commits?author=tirkarthi |
| d65b783 | https://github.com/sidlovescoding/Cpython/commit/d65b783b6966d233467a48ef633afb4aff9d5df8 |
| https://github.com/sidlovescoding/Cpython/blob/d65b783b6966d233467a48ef633afb4aff9d5df8/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/d65b783b6966d233467a48ef633afb4aff9d5df8 |
| bpo-44185: Added close() to mock_open __exit__ (#26902) | https://github.com/sidlovescoding/Cpython/commit/3f7c0810f6158a7ff37be432f8d7f9511427489f |
| https://github.com/samety |
| samety | https://github.com/sidlovescoding/Cpython/commits?author=samety |
| 3f7c081 | https://github.com/sidlovescoding/Cpython/commit/3f7c0810f6158a7ff37be432f8d7f9511427489f |
| https://github.com/sidlovescoding/Cpython/blob/3f7c0810f6158a7ff37be432f8d7f9511427489f/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/3f7c0810f6158a7ff37be432f8d7f9511427489f |
| gh-94924: support `inspect.iscoroutinefunction` in `create_autospec(async_def)` (#94962) | https://github.com/sidlovescoding/Cpython/commit/9bf8d825a66ea2a76169b917c12c237a6af2ed75 |
| https://github.com/graingert |
| graingert | https://github.com/sidlovescoding/Cpython/commits?author=graingert |
| 9bf8d82 | https://github.com/sidlovescoding/Cpython/commit/9bf8d825a66ea2a76169b917c12c237a6af2ed75 |
| https://github.com/sidlovescoding/Cpython/blob/9bf8d825a66ea2a76169b917c12c237a6af2ed75/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/9bf8d825a66ea2a76169b917c12c237a6af2ed75 |
| gh-85934: Use getattr_static when adding mock spec (#22209) | https://github.com/sidlovescoding/Cpython/commit/2e0931046dcc200fd6abb2cdfaf57d8b99117c57 |
| 2e09310 | https://github.com/sidlovescoding/Cpython/commit/2e0931046dcc200fd6abb2cdfaf57d8b99117c57 |
| https://github.com/sidlovescoding/Cpython/blob/2e0931046dcc200fd6abb2cdfaf57d8b99117c57/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/2e0931046dcc200fd6abb2cdfaf57d8b99117c57 |
| gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (#103228) | https://github.com/sidlovescoding/Cpython/commit/59e0de4903c02e72b329e505fddf1ad9794928bc |
| https://github.com/tomasr8 |
| tomasr8 | https://github.com/sidlovescoding/Cpython/commits?author=tomasr8 |
| 59e0de4 | https://github.com/sidlovescoding/Cpython/commit/59e0de4903c02e72b329e505fddf1ad9794928bc |
| https://github.com/sidlovescoding/Cpython/blob/59e0de4903c02e72b329e505fddf1ad9794928bc/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/59e0de4903c02e72b329e505fddf1ad9794928bc |
| gh-96127: Fix `inspect.signature` call on mocks (#96335) | https://github.com/sidlovescoding/Cpython/commit/9e7d7266ecdcccc02385fe4ccb094f3444102e26 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 9e7d726 | https://github.com/sidlovescoding/Cpython/commit/9e7d7266ecdcccc02385fe4ccb094f3444102e26 |
| https://github.com/sidlovescoding/Cpython/blob/9e7d7266ecdcccc02385fe4ccb094f3444102e26/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/9e7d7266ecdcccc02385fe4ccb094f3444102e26 |
| gh-100690: [mock] hide `ATTRIB_DENY_LIST` and make it immutable (#100819) | https://github.com/sidlovescoding/Cpython/commit/a109454e828ce2d9bde15dea78405f8ffee653ec |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| a109454 | https://github.com/sidlovescoding/Cpython/commit/a109454e828ce2d9bde15dea78405f8ffee653ec |
| https://github.com/sidlovescoding/Cpython/blob/a109454e828ce2d9bde15dea78405f8ffee653ec/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/a109454e828ce2d9bde15dea78405f8ffee653ec |
| gh-100690: Raise an AttributeError when the assert_ prefix is forgotten when using Mock (#100691) | https://github.com/sidlovescoding/Cpython/commit/1d4d677d1c90fcf4886ded0bf04b8f9d5b60b909 |
| https://github.com/cklein |
| cklein | https://github.com/sidlovescoding/Cpython/commits?author=cklein |
| 1d4d677 | https://github.com/sidlovescoding/Cpython/commit/1d4d677d1c90fcf4886ded0bf04b8f9d5b60b909 |
| https://github.com/sidlovescoding/Cpython/blob/1d4d677d1c90fcf4886ded0bf04b8f9d5b60b909/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/1d4d677d1c90fcf4886ded0bf04b8f9d5b60b909 |
| gh-100739: Respect mock spec when checking for unsafe prefixes (#100740) | https://github.com/sidlovescoding/Cpython/commit/7f1eefc6f4843f0fca60308f557a71af11d18a53 |
| cklein | https://github.com/sidlovescoding/Cpython/commits?author=cklein |
| sobolevn | https://github.com/sidlovescoding/Cpython/commits?author=sobolevn |
| 7f1eefc | https://github.com/sidlovescoding/Cpython/commit/7f1eefc6f4843f0fca60308f557a71af11d18a53 |
| https://github.com/sidlovescoding/Cpython/blob/7f1eefc6f4843f0fca60308f557a71af11d18a53/Lib/unittest/mock.py |
| https://github.com/sidlovescoding/Cpython/tree/7f1eefc6f4843f0fca60308f557a71af11d18a53 |
| Next | https://github.com/sidlovescoding/Cpython/commits/sid-python/Lib/unittest/mock.py?after=285abce9202534d8e8c7f3624b0cc776d636ff4f+34 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |