cpython/Lib/test/support
Bénédikt Tran 8f11af45de
gh-130149: refactor tests for HMAC (#130150)
Since we plan to introduce a built-in implementation for HMAC based on HACL*,
it becomes important for the HMAC tests to be flexible enough to avoid code
duplication.

In addition to the new layout based on mixin classes, we extend test coverage by
also testing the `__repr__` of HMAC objects and the HMAC one-shot functions.

We also fix the import to `_sha256` which, since gh-101924, resulted in some tests being
skipped as the module is no more available (its content was moved to the `_sha2` module).
2025-03-03 11:22:05 +01:00
..
_hypothesis_stubs
interpreters
__init__.py GH-130396: Treat clang -Og as optimized for gdb tests (GH-130550) 2025-02-26 09:01:58 +00:00
ast_helper.py
asynchat.py
asyncore.py
bytecode_helper.py
hashlib_helper.py gh-130149: refactor tests for HMAC (#130150) 2025-03-03 11:22:05 +01:00
hypothesis_helper.py
i18n_helper.py gh-126413: Add translation tests for getopt and optparse (GH-126698) 2024-11-12 00:16:39 +02:00
import_helper.py gh-124842: Fix test.support.import_helper.make_legacy_pyc() (GH-124843) 2024-10-01 16:05:17 +00:00
logging_helper.py
os_helper.py gh-115911: Ignore PermissionError during import from cwd (#116131) 2025-01-26 19:00:28 +00:00
pty_helper.py
refleak_helper.py
script_helper.py gh-124188: Fix PyErr_ProgramTextObject() (GH-124189) 2024-09-24 11:01:37 +03:00
smtpd.py
socket_helper.py
strace_helper.py gh-127747: Resolve BytesWarning in test.support.strace_helper (#127849) 2024-12-13 23:36:47 -08:00
testcase.py gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) 2024-09-08 16:01:54 +03:00
threading_helper.py
venv.py tests: add test.support.venv.VirtualEnvironmentMixin (#129461) 2025-01-30 03:32:24 +00:00
warnings_helper.py