Skip to content
Sections
>> Trisquel >> Paketler >> ecne (12.0LTS) >> python >> python3-mock-open
[  ecne  ] [  xolotl  ]
[ Kaynak: python-mock-open  ]

Paket: python3-mock-open (1.4.0-2)

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 ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

python3-mock-open indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 13,3 kB74 kB [dosya listesi]