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
GitMate.io thinks possibly related issues are #1553 (Assert diff does not handle newline), #1996 (Warnings handling), #3207 (capsys does not follow the OS newline rules for print), #439 (capsys fixture does not collect the same test output as reported by pytest), and #353 (py.test doesn't expose that an exception occurred while handling another).
I wrote this very simple function:
and relative unit-test:
I would expect the tests to pass but for some reason
capsys
is not correctly handling the whitespaces in the result. Here is the stdout:These are the package installed in my virtualenv:
The text was updated successfully, but these errors were encountered: