You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @patrick91. Yes, the code shown would naturally break pattern matching since you are effectively throwing away all process output so xprocess has nothing to match your pattern against. What output, specifically, would like to hide? Are you referring to pytest output? The output of the initialized process should be captured by pytest and should not show under normal circumstances (unless you disable all capture with -s flag). You can further customize pytest capturing with:
pytest -s # disable all capturing
pytest --capture=sys # replace sys.stdout/stderr with in-mem files
pytest --capture=fd # also point filedescriptors 1 and 2 to temp file
pytest --capture=tee-sys # combines 'sys' and '-s', capturing sys.stdout/stderr# and passing it along to the actual sys.stdout/stderr
Is there a way to hide all the ouput while using the
pattern
option? I've tried this:but it breaks the pattern check :)
The text was updated successfully, but these errors were encountered: