I copied all the code from the test_simple_assume example from the README into a file, and ran pytest. The README shows corresponding output like:
_________________________________ test_simple_assume[1-1] _________________________________
> pytest.assume(False)
test_assume.py:7
y = 1
x = 1
----------------------------------------
Failed Assumptions:1
My output per test is much more verbose:
______________________________ test_simple_assume[1-1] ______________________________
tp = <class 'pytest_assume.plugin.FailedAssumption'>, value = None, tb = None
def reraise(tp, value, tb=None):
try:
if value is None:
value = tp()
if value.__traceback__ is not tb:
> raise value.with_traceback(tb)
E pytest_assume.plugin.FailedAssumption:
E 1 Failed Assumptions:
E
E test_assume.py:7: AssumptionFailure
E >> pytest.assume(False)
/home/colin/.local/lib/python3.5/site-packages/six.py:692: FailedAssumption
Version information:
platform linux -- Python 3.5.2, pytest-5.0.1, py-1.8.0, pluggy-0.12.0
plugins: assume-2.1.0, check-0.3.5
I copied all the code from the
test_simple_assumeexample from the README into a file, and ran pytest. The README shows corresponding output like:My output per test is much more verbose:
Version information: