cpython/Lib
Serhiy Storchaka bedce3538c
[3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455)
Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.

load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests.
(cherry picked from commit 40348acc18)
2021-09-19 22:36:03 +03:00
..
asyncio Trivial typo in docstring (#27504) 2021-07-31 07:04:45 +02:00
collections
concurrent
ctypes [3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092) 2021-09-03 21:13:00 -04:00
curses
dbm
distutils bpo-45182: Fix incorrect use of requires_zlib in test_bdist_rpm (GH-28305) 2021-09-13 04:34:58 -07:00
email [3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092) 2021-09-03 21:13:00 -04:00
encodings
ensurepip Upgrade bundled pip and setuptools (GH-27625) 2021-08-07 09:38:40 -07:00
html
http
idlelib bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343) 2021-09-15 00:37:35 -07:00
importlib bpo-42135 Correct version slated for importlib.find_loader removal (GH-28312) (GH-28321) 2021-09-13 16:33:05 -07:00
json
lib2to3 [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
logging bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) (GH-27487) 2021-07-30 17:20:59 +01:00
msilib
multiprocessing bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) 2021-08-09 10:39:05 -07:00
pydoc_data Python 3.10.0rc2 2021-09-07 14:18:28 +01:00
site-packages
sqlite3 bpo-25130: Make SQLite tests more compatible with PyPy (GH-28021) 2021-08-29 03:43:48 -07:00
test [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
tkinter [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
turtledemo
unittest bpo-36674: Honour the skipping decorators in TestCase.debug() (GH-28446) 2021-09-18 06:22:31 -07:00
urllib Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) 2021-07-30 16:25:28 +02:00
venv
wsgiref
xml Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) 2021-07-30 16:25:28 +02:00
xmlrpc Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) 2021-07-30 16:25:28 +02:00
zoneinfo
__future__.py
__phello__.foo.py
_aix_support.py
_bootsubprocess.py
_collections_abc.py bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585) 2021-08-04 13:36:01 -07:00
_compat_pickle.py
_compression.py
_markupbase.py
_osx_support.py
_py_abc.py
_pydecimal.py
_pyio.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py bpo-44962: Fix a race in WeakKeyDict, WeakValueDict and WeakSet when two threads attempt to commit the last pending removal (GH-27921) 2021-08-28 11:09:21 -07:00
abc.py
aifc.py
antigravity.py
argparse.py bpo-45235: Fix argparse overrides namespace with subparser defaults (GH-28420) (GH-28442) 2021-09-18 01:47:16 -05:00
ast.py
asynchat.py
asyncore.py
base64.py
bdb.py
binhex.py
bisect.py
bz2.py
calendar.py
cgi.py
cgitb.py bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00
chunk.py
cmd.py
code.py
codecs.py
codeop.py
colorsys.py
compileall.py Fix missing space with help for -m compileall -o (GH-27591) (GH-28430) 2021-09-18 01:02:32 +02:00
configparser.py bpo-38741: Definition of multiple ']' in header configparser (GH-17129) (#27110) 2021-07-13 16:35:30 +02:00
contextlib.py bpo-44566: resolve differences between asynccontextmanager and contextmanager (GH-27024) (#27266) 2021-07-20 21:12:47 +02:00
contextvars.py
copy.py
copyreg.py bpo-44676: Serialize the union type using only public API (GH-27323) (GH-27340) 2021-07-24 22:35:33 +03:00
cProfile.py
crypt.py
csv.py bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) (GH-27494) 2021-07-30 19:30:09 +02:00
dataclasses.py
datetime.py
decimal.py
difflib.py
dis.py
doctest.py
enum.py
filecmp.py bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) 2021-08-04 13:03:33 -07:00
fileinput.py
fnmatch.py
fractions.py
ftplib.py
functools.py bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27640) 2021-08-06 15:11:44 -05:00
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
graphlib.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py
imghdr.py
imp.py
inspect.py bpo-44648: Fix error type in inspect.getsource() in interactive session (GH-27171) (GH-27495) 2021-07-30 19:46:42 +02:00
io.py
ipaddress.py
keyword.py
linecache.py
locale.py
lzma.py
mailbox.py
mailcap.py
mimetypes.py bpo-35474: Fix mimetypes.guess_all_extensions() potentially mutating list (GH-28286) (GH-28289) 2021-09-13 19:24:29 +02:00
modulefinder.py
netrc.py
nntplib.py
ntpath.py
nturl2path.py
numbers.py
opcode.py
operator.py
optparse.py
os.py
pathlib.py bpo-27827: identify a greater range of reserved filename on Windows. (GH-26698) (GH-27421) 2021-07-28 17:01:47 +02:00
pdb.py [3.10] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227) (GH-27399) 2021-07-28 06:04:38 -07:00
pickle.py
pickletools.py
pipes.py Change type check to isinstance in pipes (GH-27291) (GH-27416) 2021-07-28 16:08:51 +02:00
pkgutil.py
platform.py bpo-44572: On Windows, disconnect STDIN in platform._syscmd_ver() to prevent erroneous STDIN consumption (GH-27092) (GH-27124) 2021-07-13 20:48:23 +01:00
plistlib.py
poplib.py
posixpath.py bpo-26329: update os.path.normpath documentation (GH-20138) (GH-27094) 2021-07-12 17:07:46 +02:00
pprint.py
profile.py
pstats.py
pty.py bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754) 2021-08-13 04:21:06 -07:00
py_compile.py
pyclbr.py
pydoc.py bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) 2021-08-29 05:57:22 -07:00
queue.py
quopri.py
random.py
re.py
reprlib.py
rlcompleter.py bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433) (GH-27447) 2021-07-29 17:44:42 +02:00
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py bpo-43219: shutil.copyfile, raise a less confusing exception instead of IsADirectoryError (GH-27049) 2021-07-09 21:07:35 -07:00
signal.py
site.py
smtpd.py
smtplib.py bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) 2021-08-29 07:43:39 -07:00
sndhdr.py
socket.py bpo-40635: Fix getfqdn() docstring and docs (GH-27971) 2021-08-26 12:54:52 -07:00
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py
stat.py
statistics.py [3.10] bpo-20499: Rounding error in statistics.pvariance (GH-28230) (GH-28248) 2021-09-08 22:42:29 -05:00
string.py
stringprep.py
struct.py
subprocess.py [3.10] bpo-44935: enable posix_spawn() on Solaris (GH-27795) (GH-27800) 2021-08-17 11:33:34 -07:00
sunau.py
symtable.py
sysconfig.py bpo-44860: Make sysconfig posix_user not depend on platlibdir (GH-27655) (GH-28197) 2021-09-07 12:20:31 +01:00
tabnanny.py
tarfile.py
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py
timeit.py
token.py
tokenize.py bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27500) 2021-08-02 11:43:45 +02:00
trace.py
traceback.py
tracemalloc.py
tty.py
turtle.py Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) 2021-07-30 16:25:28 +02:00
types.py bpo-44732: Rename types.Union to types.UnionType (GH-27342) 2021-07-26 12:02:58 -07:00
typing.py bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass' __init__ (GH-28206) (GH-28232) 2021-09-08 17:05:23 +02:00
uu.py
uuid.py
warnings.py
wave.py
weakref.py bpo-44962: Fix a race in WeakKeyDict, WeakValueDict and WeakSet when two threads attempt to commit the last pending removal (GH-27921) 2021-08-28 11:09:21 -07:00
webbrowser.py bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00
xdrlib.py
zipapp.py
zipfile.py
zipimport.py [3.10] bpo-45183: don't raise an exception when calling zipimport.zipimporter.find_spec() when the zip file is missing and the internal cache has been reset (GH-28435) (#28438) 2021-09-17 17:46:22 -07:00