August 2018
Beginner
160 pages
4h 8m
English
capsysbinary and capfdbinary are fixtures identical to capsys and capfd, except that they capture output in binary mode, and their readouterr() methods return raw bytes instead of text. It might be useful in specialized situations, for example, when running an external process that produces binary output, such as tar.
Read now
Unlock full access