alle opties
bookworm  ] [  trixie  ] [  sid  ]
[ Bron: python-mock-open  ]

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

Verwijzigingen voor python3-mock-open

Screenshot

Debian bronnen:

Het bronpakket python-mock-open downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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'.

Andere aan python3-mock-open gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

python3-mock-open downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 13,2 kB74,0 kB [overzicht]