Show the mnemonic of pytest.ExitCode in RunResult's repr

Fix #4901
This commit is contained in:
Bruno Oliveira
2019-10-22 19:33:54 -03:00
committed by Bruno Oliveira
parent 978c7ae1b7
commit 7beb520555
3 changed files with 26 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
``RunResult`` from ``pytester`` now displays the mnemonic of the ``ret`` attribute when it is a
valid ``pytest.ExitCode`` value.