全部搜索项
bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: python-mock-open  ]

软件包:python3-mock-open(1.4.0-2)

python3-mock-open 的相关链接

Screenshot

Debian 的资源:

下载源码包 python-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'.

其他与 python3-mock-open 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 python3-mock-open

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 13.2 kB74.0 kB [文件列表]