]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119949: Refactor test_exc() helper in test_format.py (GH-135452)
authorSergey B Kirpichev <skirpichev@gmail.com>
Sun, 24 May 2026 10:24:59 +0000 (13:24 +0300)
committerGitHub <noreply@github.com>
Sun, 24 May 2026 10:24:59 +0000 (10:24 +0000)
commit0851700a9d99ca4bebd8d5f9d73c8c9ab1084405
treef1b6d7a0e44778187580943199fff306fe116ea6
parenta38804bb981ba93a1efbb95a1e35a1c0b05740c7
gh-119949: Refactor test_exc() helper in test_format.py (GH-135452)

Use assertRaisesRegex() context and fix
https://github.com/python/cpython/pull/119781#pullrequestreview-2088240959

* address review: minimize diff
Lib/test/test_format.py