python-mock-open 1.4.0-2 source package in Ubuntu
Changelog
python-mock-open (1.4.0-2) unstable; urgency=medium * debian/upstream/metadata: fix github URLs. -- Edward Betts <edward@4angle.com> Tue, 19 Jul 2022 15:45:56 +0100
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-mock-open_1.4.0-2.dsc | 2.1 KiB | 879390aa21ae1e0c4d4c4510c3a6373b0c02bcf8e33ee8a39465a38f5329bec6 |
python-mock-open_1.4.0.orig.tar.gz | 11.7 KiB | c9025dabc01a8ea1e66a53439d016dcac478dd2d84a7bd72a6843e226b629616 |
python-mock-open_1.4.0-2.debian.tar.xz | 3.2 KiB | 7cb61da20bcfcd2472cf01fac52ce9a215dfab4dd0337966b9aa036608369e22 |
Available diffs
- diff from 1.4.0-1 to 1.4.0-2 (477 bytes)
No changes file available.
Binary packages built by this source
- python3-mock-open: Better mock for file I/O
The MockOpen class should work as a stand-in replacement for mock.mock_open
with some added features (though it tries to conform to how the builtin 'open'
works where the two differ).
.
Features include:
.
* Multiple file support, including a mapping-like access to file mocks by
path.
* Persistent file contents between calls to `open`.
* All the regular file operations: 'read', 'readline', 'readlines', 'write',
'writelines', 'seek', 'tell'.