Fix output checking in test cases
authorNikolaus Rath <Nikolaus@rath.org>
Thu, 4 Jul 2019 20:20:41 +0000 (21:20 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 4 Jul 2019 20:20:41 +0000 (21:20 +0100)
commit1343f59c274bd5c4cea3ed5ca3dea092000f2b13
tree89bbf129979d6918a72019321e2676cf979b3cdb
parentbe8db96603631ea85bb82a39c77a5514cbc47348
Fix output checking in test cases

py.test's capture plugin does not work reliably when used by
other fixtures. Therefore, implement our own version.
test/conftest.py
test/test_ctests.py
test/test_examples.py