compatibility to pytest
This is somehow related to #19719 (closed) (but only because I created #19719 (closed) since I want to run pytest)
Since i could not run pytest with
$ pvbatch -m pytest test_something.py
I created a file called run_pytest.py as described here: https://docs.pytest.org/en/latest/usage.html#calling-pytest-from-python-code
Then I executed
$ pvbatch run_pytest.py
This got errors that could be tracked down to
INTERNALERROR> AttributeError: 'vtkPythonStdStreamCaptureHelper' object has no attribute 'isatty'
Edit1: Formatting Edit2: Fixed the pvbatch -m ... command.
Edited by Malte Schuh