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
The problems is that pytest --capture=X fails or passes depending on X.
fd : passes
no: fails
sys: fails
I expected a failure in all cases.
Version of pytest: 3.2.5, on Ubuntu.
I can't provide you with a minimal working example, because the key problem is the call to this function. If I place assert False before the call, then pytest fails no matter what the capturing metho is. So something happens when calling this exterior function.
How can I go ahead and debug this further?
The text was updated successfully, but these errors were encountered:
I have a test which involves calling an external function (compiled from swig).
The test looks like
The problems is that
pytest --capture=X
fails or passes depending onX
.fd
: passesno
: failssys
: failsI expected a failure in all cases.
Version of pytest: 3.2.5, on Ubuntu.
I can't provide you with a minimal working example, because the key problem is the call to this function. If I place
assert False
before the call, thenpytest
fails no matter what the capturing metho is. So something happens when calling this exterior function.How can I go ahead and debug this further?
The text was updated successfully, but these errors were encountered: