• Kirill Smelkov's avatar
    golang: tests: Don't hide output details in assert on retcode of spawned command · 6e31304d
    Kirill Smelkov authored
    For example if test_defer_excchain_dump_ipython fails the output was:
    
        >       assert retcode == 0
        E       assert 1 == 0
    
    and it was unclear what was going on. Now the output is e.g.
    
        >       assert retcode == 0, (stdout, stderr)
        E       AssertionError: ('', '==152924==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
        E         ')
        E       assert 1 == 0
    
    Amends: 09629367 (golang: tests: Add tests for IPython and Pytest
    integration patches) and bb9a94c3 (golang: Teach defer to chain
    exceptions (PEP 3134) even on Python2).
    6e31304d
Name
Last commit
Last update
3rdparty/include/linux Loading commit data...
golang Loading commit data...
gpython Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
pyproject.toml Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
trun Loading commit data...