Skip to content

fix unittest.mock: make mock_open.__exit__ accept variable args (gh-150484) #194210

fix unittest.mock: make mock_open.__exit__ accept variable args (gh-150484)

fix unittest.mock: make mock_open.__exit__ accept variable args (gh-150484) #194210

Triggered via pull request May 27, 2026 20:13
Status Failure
Total duration 27m 25s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Check if Autoconf files are up to date
28s
Check if Autoconf files are up to date
Check if generated files are up to date
3m 56s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
12s
C API Docs / Check if all C APIs are documented
iOS
18m 2s
iOS
Emscripten  /  build and test
20m 15s
Emscripten / build and test
WASI  /  build and test
5m 44s
WASI / build and test
Hypothesis tests on Ubuntu
10m 11s
Hypothesis tests on Ubuntu
Cross build Linux
4m 1s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Doctest
Docs / Doctest
Docs  /  Docs
Docs / Docs
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 4 warnings
WASI / build and test
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Windows / Build and test (x64, tail-call)
Process completed with exit code 2.
Windows (free-threading) / Build and test (x64, tail-call)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
macOS / build and test (macos-26)
Process completed with exit code 2.
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
macOS / build and test (macos-26-intel)
Process completed with exit code 2.
iOS
Process completed with exit code 1.
Windows / Build and test (Win32, switch-case)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Windows / Build and test (arm64, switch-case)
Process completed with exit code 2.
Sanitizers / UBSan
Process completed with exit code 2.
Android (x86_64)
Process completed with exit code 1.
Emscripten / build and test
Process completed with exit code 2.
Windows / Build and test (x64, switch-case)
Process completed with exit code 2.
Windows (free-threading) / Build and test (arm64, switch-case)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Windows (free-threading) / Build and test (x64, switch-case)
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.54 KB
sha256:3323f43a1909ba9878036ef90194de143213de3cc072eaea962875751197dc21