Closed DerWeh closed 7 years ago
@DerWeh would you mind including the :Pytest session
full output so I can take a look? If the plugin fully fails to capture and properly parse the output it will display that message. To try a fix I need this output. Thanks!
Here is the full output:
1 ============================= test session starts ==============================
2 platform linux2 -- Python 2.7.9, pytest-3.0.3, py-1.4.31, pluggy-0.4.0
3 rootdir: /home/andreas/studium/theo3/poisson_dmft/test, inifile:
4 plugins: cov-2.3.1, xdist-1.15.0
5 collected 5 items
6
7 test_param.py x
8
9 ============================== 4 tests deselected ==============================
10 =================== 4 deselected, 1 xfailed in 0.25 seconds ====================
11
Aha! Yep, this will break it. I know how to fix it though! I should have something done in a little bit. Thanks for getting me the output
@DerWeh can you pull the latest changes and see if that fixes it for you? This commit deals with this exact situation 1f1d413aae9669095f61a46ea11c5b030b796cd0
Thanks everything is fine now.
If I run the
:Pytest function
command on a function marked with the decorator@pytest.mark.xfail(raises=ValueError)
I get the error messageRemoving the the decorator gives the expected output showing the Value error.