Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
History for Lib/unittest - python/cpython · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.5k
Star
77.2k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
unittest
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 5, 2026
gh-156970: Set `Mock.return_value`'s docstring (#156971)
Show description for e620377
ByteFlowing1337
and
StanFromIreland
authored
e620377
View commit details
Copy full SHA for e620377
View code at this point
Browse repository at this point
Commits on Aug 29, 2026
gh-108885: Report the examples of a doctest run by unittest (GH-155377)
Show description for 55eef52
serhiy-storchaka
and
claude
authored
55eef52
View commit details
Copy full SHA for 55eef52
View code at this point
Browse repository at this point
Commits on Aug 12, 2026
gh-80762: Fix dir() on Mock with tuple specs (GH-12753)
Show description for 38ce104
3 people
authored
38ce104
View commit details
Copy full SHA for 38ce104
View code at this point
Browse repository at this point
Commits on Jun 27, 2026
gh-127949: remove asyncio policy system (#150310)
kumaraditya303
authored
b3154aa
View commit details
Copy full SHA for b3154aa
View code at this point
Browse repository at this point
Commits on Jun 24, 2026
Capitalize first word in `unittest.mock.assert_*` docs and docstrings (#151951)
hy144328
authored
a46db4f
View commit details
Copy full SHA for a46db4f
View code at this point
Browse repository at this point
Commits on Jun 17, 2026
gh-120665: make unittest loaders avoid loading test cases that are abstract base classes (#120666)
blhsing
authored
5ad3c6d
View commit details
Copy full SHA for 5ad3c6d
View code at this point
Browse repository at this point
Commits on Jun 14, 2026
gh-151428: Remove unused imports in the stdlib (#151440)
ByteFlowing1337
authored
a7885b4
View commit details
Copy full SHA for a7885b4
View code at this point
Browse repository at this point
Commits on May 21, 2026
gh-150175: Fix ThreadingMock call_count race condition (#150176)
Show description for 388e023
saisneha196
authored
388e023
View commit details
Copy full SHA for 388e023
View code at this point
Browse repository at this point
Commits on May 12, 2026
gh-149600: Remove deprecated `asyncio.iscoroutinefunction` function (#149601)
sobolevn
authored
e472f6d
View commit details
Copy full SHA for e472f6d
View code at this point
Browse repository at this point
Commits on May 6, 2026
gh-144384: Lazily import `_colorize` (#149318)
hugovk
authored
7cea70e
View commit details
Copy full SHA for 7cea70e
View code at this point
Browse repository at this point
Commits on May 4, 2026
gh-142389: Add backticks to stdlib argparse help to display in colour (#149384)
Show description for ef6f063
hugovk
and
savannahostrowski
authored
ef6f063
View commit details
Copy full SHA for ef6f063
View code at this point
Browse repository at this point
Commits on May 3, 2026
gh-143231: Do not swallow not matched warnings in assertWarns*() (GH-149229)
Show description for a3435d5
serhiy-storchaka
authored
a3435d5
View commit details
Copy full SHA for a3435d5
View code at this point
Browse repository at this point
Commits on Mar 20, 2026
gh-145754: Update signature retrieval in unittest.mock to use forwardref annotation format (#145756)
mschoettle
authored
d357a7d
View commit details
Copy full SHA for d357a7d
View code at this point
Browse repository at this point
Commits on Mar 11, 2026
gh-145546: unittest.util: fix `sorted_list_difference` tail deduplication (GH-145547)
Show description for ece7121
stefanzetzsche
and
blurb-it[bot]
authored
ece7121
View commit details
Copy full SHA for ece7121
View code at this point
Browse repository at this point
Commits on Mar 10, 2026
gh-142651: use `NonCallableMock._lock` for thread safety of `call_count` (#142922)
kumaraditya303
authored
728e4a0
View commit details
Copy full SHA for 728e4a0
View code at this point
Browse repository at this point
Commits on Feb 5, 2026
gh-74453: Deprecate os.path.commonprefix (#144436)
Show description for 957f9fe
3 people
authored
957f9fe
View commit details
Copy full SHA for 957f9fe
View code at this point
Browse repository at this point
Commits on Dec 15, 2025
gh-142651: make `Mock.call_count` thread-safe (#142656)
chaope
authored
850f95f
View commit details
Copy full SHA for 850f95f
View code at this point
Browse repository at this point
Commits on Nov 15, 2025
gh-136442: Fix unittest to return exit code 5 when setUpClass raises an exception (#136487)
ueshin
authored
53d65c8
View commit details
Copy full SHA for 53d65c8
View code at this point
Browse repository at this point
Commits on Aug 14, 2025
gh-137716: Fix double period in AttributeError message for invalid mock assertions (#137717)
rohanwinsor
authored
8665769
View commit details
Copy full SHA for 8665769
View code at this point
Browse repository at this point
Commits on Jul 2, 2025
gh-134567: Add the formatter parameter in unittest.TestCase.assertLogs (GH-134570)
garry-cairns
authored
51ab66b
View commit details
Copy full SHA for 51ab66b
View code at this point
Browse repository at this point
Commits on Jun 28, 2025
Fix a typo in Lib/unittest/mock.py (#136067)
LamentXU123
authored
35ecaf9
View commit details
Copy full SHA for 35ecaf9
View code at this point
Browse repository at this point
Commits on Jun 14, 2025
gh-135368: Fix mocks on dataclass specs with `instance=True` (#135421)
Show description for c8319a3
sobolevn
and
cdce8p
authored
c8319a3
View commit details
Copy full SHA for c8319a3
View code at this point
Browse repository at this point
Commits on May 23, 2025
gh-134565: Use ExceptionGroup to handle multiple errors in unittest.doModuleCleanups() (GH-134566)
serhiy-storchaka
authored
393773a
View commit details
Copy full SHA for 393773a
View code at this point
Browse repository at this point
Commits on May 5, 2025
gh-133346: Make theming support in _colorize extensible (GH-133347)
Show description for f610bbd
ambv
and
hugovk
authored
f610bbd
View commit details
Copy full SHA for f610bbd
View code at this point
Browse repository at this point
gh-130645: Add color to stdlib argparse CLIs (gh-133380)
hugovk
authored
4ac916a
View commit details
Copy full SHA for 4ac916a
View code at this point
Browse repository at this point
Commits on Apr 19, 2025
gh-128398: improve error messages when incorrectly using `with` and `async with` (#132218)
Show description for 8a9c6c4
picnixz
authored
8a9c6c4
View commit details
Copy full SHA for 8a9c6c4
View code at this point
Browse repository at this point
Commits on Jan 20, 2025
gh-128595: Default to stdout isatty for colour detection instead of stderr (#128498)
Show description for 6f167d7
3 people
authored
6f167d7
View commit details
Copy full SHA for 6f167d7
View code at this point
Browse repository at this point
gh-71339: Improve error report for types in assertHasAttr() and assertNotHasAttr() (GH-128818)
serhiy-storchaka
authored
da122b5
View commit details
Copy full SHA for da122b5
View code at this point
Browse repository at this point
Commits on Jan 14, 2025
gh-71339: Add additional assertion methods for unittest (GH-128707)
Show description for 06cad77
serhiy-storchaka
authored
06cad77
View commit details
Copy full SHA for 06cad77
View code at this point
Browse repository at this point
Commits on Dec 5, 2024
gh-127221: Add colour to unittest output (#127223)
Show description for 23f2e8f
hugovk
and
Eclips4
authored
23f2e8f
View commit details
Copy full SHA for 23f2e8f
View code at this point
Browse repository at this point
Commits on Nov 13, 2024
gh-104745: Limit starting a patcher more than once without stopping it (#126649)
Show description for 1e40c5b
3 people
authored
1e40c5b
View commit details
Copy full SHA for 1e40c5b
View code at this point
Browse repository at this point
bpo-46128: Strip IsolatedAsyncioTestCase frames from reported stacktraces (#30196)
Show description for 2e39d77
4 people
authored
2e39d77
View commit details
Copy full SHA for 2e39d77
View code at this point
Browse repository at this point
Commits on Nov 12, 2024
gh-126133: Only use start year in PSF copyright, remove end years (#126236)
hugovk
authored
91f4908
View commit details
Copy full SHA for 91f4908
View code at this point
Browse repository at this point
Commits on Oct 23, 2024
gh-80958: unittest: discovery support for namespace packages as start directory (#123820)
jacobtylerwalls
authored
c75ff2e
View commit details
Copy full SHA for c75ff2e
View code at this point
Browse repository at this point
Commits on Sep 27, 2024
gh-124176: Add special support for dataclasses to `create_autospec` (#124429)
sobolevn
authored
3a0e7f5
View commit details
Copy full SHA for 3a0e7f5
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.