all options
bookworm  ] [  trixie  ] [  sid  ]
[ Source: python-mock-open  ]

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

Links for python3-mock-open


Debian Resources:

Download Source Package python-mock-open:


External Resources:

Similar packages:

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
 * Persistent file contents between calls to `open`.
 * All the regular file operations: 'read', 'readline', 'readlines', 'write',
   'writelines', 'seek', 'tell'.

Other Packages Related to python3-mock-open

  • depends
  • recommends
  • suggests
  • enhances

Download python3-mock-open

Download for all available architectures
Architecture Package Size Installed Size Files
all 13.2 kB74.0 kB [list of files]