全部搜尋項
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 [檔案列表]