Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
unittest
main.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 25, 2017
bpo-32071: Add unittest -k option (#4496)
Show description for 5b48dc6
jonashaag
authored and
pitrou
committed
5b48dc6
View commit details
Copy full SHA for 5b48dc6
View code at this point
Browse repository at this point
Commits on Apr 20, 2017
bpo-30078: Add an example of passing a path to unittest (#1178)
louisom
authored and
berkerpeksag
committed
f7e62cf
View commit details
Copy full SHA for f7e62cf
View code at this point
Browse repository at this point
Commits on Sep 12, 2015
Marked keystrokes with the :kbd: role.
Show description for 153627c
serhiy-storchaka
committed
153627c
View commit details
Copy full SHA for 153627c
View code at this point
Browse repository at this point
Marked keystrokes with the :kbd: role.
Show description for 0424eaf
serhiy-storchaka
committed
0424eaf
View commit details
Copy full SHA for 0424eaf
View code at this point
Browse repository at this point
Commits on Mar 6, 2015
Issue #22936: Allow showing local variables in unittest errors.
rbtcollins
committed
f0c819a
View commit details
Copy full SHA for f0c819a
View code at this point
Browse repository at this point
Commits on Mar 5, 2015
unittest: Trivial typo fix.
rbtcollins
committed
7e28df9
View commit details
Copy full SHA for 7e28df9
View code at this point
Browse repository at this point
Commits on Aug 29, 2013
Issue #17974: Switch unittest from using getopt to using argparse.
serhiy-storchaka
committed
de2800f
View commit details
Copy full SHA for de2800f
View code at this point
Browse repository at this point
Commits on Feb 23, 2013
Issue #15132: Allow a list for the defaultTest argument of unittest.TestProgram
Show description for 2005447
akheron
committed
2005447
View commit details
Copy full SHA for 2005447
View code at this point
Browse repository at this point
Commits on Feb 11, 2013
Merge
mfoord
committed
b71b8ec
View commit details
Copy full SHA for b71b8ec
View code at this point
Browse repository at this point
Correction to issue 17052 fix
mfoord
committed
f78f5b1
View commit details
Copy full SHA for f78f5b1
View code at this point
Browse repository at this point
Merge
mfoord
committed
a23a39c
View commit details
Copy full SHA for a23a39c
View code at this point
Browse repository at this point
Issue 17502: unittest discovery should use self.testLoader
mfoord
committed
8fd396b
View commit details
Copy full SHA for 8fd396b
View code at this point
Browse repository at this point
Commits on Mar 12, 2012
Move adding unittest test discovery command line options into their own method.
mfoord
committed
b36c70c
View commit details
Copy full SHA for b36c70c
View code at this point
Browse repository at this point
Refactor unittest command line handling to always use optparse
mfoord
committed
5f99ced
View commit details
Copy full SHA for 5f99ced
View code at this point
Browse repository at this point
Commits on Nov 4, 2011
Drop unused import in unittest package.
florentx
committed
c53ae58
View commit details
Copy full SHA for c53ae58
View code at this point
Browse repository at this point
Commits on Dec 19, 2010
Fix minor issue in implementation of issue 10470.
Michael Foord
committed
f100dbd
View commit details
Copy full SHA for f100dbd
View code at this point
Browse repository at this point
Commits on Dec 4, 2010
Issue 10620: Specifying test modules by path instead of module name to 'python -m unittest'
Michael Foord
committed
37d120a
View commit details
Copy full SHA for 37d120a
View code at this point
Browse repository at this point
Commits on Dec 1, 2010
#10535: Enable silenced warnings in unittest by default
ezio-melotti
committed
6090187
View commit details
Copy full SHA for 6090187
View code at this point
Browse repository at this point
Commits on Nov 21, 2010
Issue 10470: 'python -m unittest' launches test discovery by default.(If you need to pass options to test discovery the discover subcommand must still be specified explicitly.)
Michael Foord
committed
086f308
View commit details
Copy full SHA for 086f308
View code at this point
Browse repository at this point
Commits on May 10, 2010
Merged revisions 81055 via svnmerge from
Show description for f707aa7
Michael Foord
committed
f707aa7
View commit details
Copy full SHA for f707aa7
View code at this point
Browse repository at this point
Commits on May 7, 2010
Merged revisions 80918 via svnmerge from
Show description for 4a8cf3c
Michael Foord
committed
4a8cf3c
View commit details
Copy full SHA for 4a8cf3c
View code at this point
Browse repository at this point
Commits on Apr 11, 2010
Merged revisions 79464,79471,79623,79626,79630,79632,79643,79648-79649,79679,79685,79711,79761,79774,79777,79792-79794,79877,79898-79900 via svnmerge from
Show description for b48af54
benjaminp
committed
b48af54
View commit details
Copy full SHA for b48af54
View code at this point
Browse repository at this point
Commits on Mar 27, 2010
Merged revisions 79437 via svnmerge from
Show description for 65b69a1
Michael Foord
committed
65b69a1
View commit details
Copy full SHA for 65b69a1
View code at this point
Browse repository at this point
Commits on Mar 22, 2010
Merged revisions 79274 via svnmerge from
Show description for eab4b4c
benjaminp
committed
eab4b4c
View commit details
Copy full SHA for eab4b4c
View code at this point
Browse repository at this point
Merged revisions 79270 via svnmerge from
Show description for f8197c3
benjaminp
committed
f8197c3
View commit details
Copy full SHA for f8197c3
View code at this point
Browse repository at this point
Merged revisions 79268 via svnmerge from
Show description for 434ae77
benjaminp
committed
434ae77
View commit details
Copy full SHA for 434ae77
View code at this point
Browse repository at this point
Merged revisions 79265-79266 via svnmerge from
Show description for 8769fd8
benjaminp
committed
8769fd8
View commit details
Copy full SHA for 8769fd8
View code at this point
Browse repository at this point
Merged revisions 79263 via svnmerge from
Show description for dccc1fc
benjaminp
committed
dccc1fc
View commit details
Copy full SHA for dccc1fc
View code at this point
Browse repository at this point
Commits on Oct 4, 2009
Merged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896,74901,74903,74908,74912,74930,74933,74943,74946,74952-74955,75015,75019,75032,75068,75076,75095,75098,75102,75129,…
Show description for 4ac9ce4
benjaminp
committed
4ac9ce4
View commit details
Copy full SHA for 4ac9ce4
View code at this point
Browse repository at this point
Commits on Jul 19, 2009
Merged revisions 74095 via svnmerge from
Show description for bed7d04
benjaminp
committed
bed7d04
View commit details
Copy full SHA for bed7d04
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.