|
| 1 | +[=]+ test session starts [=]+ |
| 2 | +platform [^\n]* |
| 3 | +cachedir: [^\n]* |
| 4 | +?(?:metadata: [^\n]*)? |
| 5 | +rootdir: [^\n]* |
| 6 | +?(?:configfile: [^\n]*)? |
| 7 | +?(?:plugins: [^\n]*)? |
| 8 | +collecting ... [\s]*collected 1 item[\s]* |
| 9 | +?(?:Submitting tests to SLURM...)? |
| 10 | +?(?:SLURM job [^\n]* has been submitted)? |
| 11 | + |
| 12 | +[^\n]*test_fail_complex_assert_two_procs.py::test_fail_with_complex_assert_reporting\[2\] FAILED |
| 13 | + |
| 14 | +[=]+ FAILURES [=]+ |
| 15 | +[_]+ test_fail_with_complex_assert_reporting\[2\] [_]+ |
| 16 | + |
| 17 | +[-]+ On rank 0 of 2 [-]+ |
| 18 | +comm = <mpi4py.MPI.Intracomm object at [^\n]*> |
| 19 | + |
| 20 | + @pytest_parallel.mark.parallel\(2\) |
| 21 | + def test_fail_with_complex_assert_reporting\(comm\): |
| 22 | + if comm.Get_rank\(\) == 0: |
| 23 | +> assert 1 == 0 |
| 24 | +E assert 1 == 0 |
| 25 | + |
| 26 | +[^\n]*test_fail_complex_assert_two_procs.py:7: AssertionError |
| 27 | + |
| 28 | +[-]+ On rank 1 of 2 [-]+ |
| 29 | +comm = <mpi4py.MPI.Intracomm object at [^\n]*> |
| 30 | + |
| 31 | + @pytest_parallel.mark.parallel\(2\) |
| 32 | + def test_fail_with_complex_assert_reporting\(comm\): |
| 33 | + if comm.Get_rank\(\) == 0: |
| 34 | + assert 1 == 0 |
| 35 | + if comm.Get_rank\(\) == 1: |
| 36 | +> assert \(np.array\(\[0,1,2\]\) == np.array\(\[0,1,3\]\)\).all\(\) |
| 37 | +E assert False |
| 38 | +E \+ where False = <built-in method all of numpy\.ndarray object at [^\n]*>\(\) |
| 39 | +E \+ where <built-in method all of numpy\.ndarray object at [^\n]*> = array\(\[0, 1, 2\]\) == array\(\[0, 1, 3\]\) |
| 40 | +?(?:[^\n]*)? |
| 41 | +E Full diff: |
| 42 | +E - array\(\[0, 1, 3\]\) |
| 43 | +E \? \^ |
| 44 | +E \+ array\(\[0, 1, 2\]\) |
| 45 | +E \? \^.all |
| 46 | + |
| 47 | +[^\n]*test_fail_complex_assert_two_procs.py:9: AssertionError |
| 48 | +[=]+ short test summary info [=]+ |
| 49 | +FAILED [^\n]*test_fail_complex_assert_two_procs.py::test_fail_with_complex_assert_reporting\[2\][^\n]* |
| 50 | +[=]+ 1 failed in [^\n]*s [=]+ |
0 commit comments