Switch to session-info2 #3384
Switch to session-info2 #3384
Build #20241122.12 had test failures
Details
- Failed: 34 (0.37%)
- Passed: 8,583 (92.59%)
- Other: 653 (7.04%)
- Total: 9,270
- 9852 of 12909 line covered (76.32%)
Annotations
Check failure on line 2334 in Build log
azure-pipelines / scverse.scanpy
Build log #L2334
Bash exited with code '1'.
Check failure on line 2685 in Build log
azure-pipelines / scverse.scanpy
Build log #L2685
Bash exited with code '1'.
Check failure on line 2354 in Build log
azure-pipelines / scverse.scanpy
Build log #L2354
Bash exited with code '1'.
Check failure on line 2217 in Build log
azure-pipelines / scverse.scanpy
Build log #L2217
Bash exited with code '1'.
Check failure on line 1 in tests/test_logging.py::test_call_outputs[print_header]
azure-pipelines / scverse.scanpy
tests/test_logging.py::test_call_outputs[print_header]
func = <function print_header at 0x7f31d2e0e7a0>
@pytest.mark.parametrize(
"func",
[
sc.logging.print_header,
sc.logging.print_versions,
sc.logging.print_version_and_date,
],
)
def test_call_outputs(func):
"""
Tests that these functions print to stdout and don't error.
Checks that https://github.com/scverse/scanpy/issues/1437 is fixed.
"""
output_io = StringIO()
with redirect_stdout(output_io):
func()
output = output_io.getvalue()
> assert output != ""
E AssertionError: assert '' != ''
tests/test_logging.py:147: AssertionError
Raw output
/home/vsts/work/1/s/tests/test_logging.py:147: AssertionError: assert '' != ''
Check failure on line 1 in tests/test_logging.py::test_call_outputs[print_versions]
azure-pipelines / scverse.scanpy
tests/test_logging.py::test_call_outputs[print_versions]
func = <function print_versions at 0x7f31d2e0e9e0>
@pytest.mark.parametrize(
"func",
[
sc.logging.print_header,
sc.logging.print_versions,
sc.logging.print_version_and_date,
],
)
def test_call_outputs(func):
"""
Tests that these functions print to stdout and don't error.
Checks that https://github.com/scverse/scanpy/issues/1437 is fixed.
"""
output_io = StringIO()
with redirect_stdout(output_io):
func()
output = output_io.getvalue()
> assert output != ""
E AssertionError: assert '' != ''
tests/test_logging.py:147: AssertionError
Raw output
/home/vsts/work/1/s/tests/test_logging.py:147: AssertionError: assert '' != ''
Check failure on line 1 in tests/test_logging.py::test_call_outputs[print_header]
azure-pipelines / scverse.scanpy
tests/test_logging.py::test_call_outputs[print_header]
func = <function print_header at 0x7f628227ec00>
@pytest.mark.parametrize(
"func",
[
sc.logging.print_header,
sc.logging.print_versions,
sc.logging.print_version_and_date,
],
)
def test_call_outputs(func):
"""
Tests that these functions print to stdout and don't error.
Checks that https://github.com/scverse/scanpy/issues/1437 is fixed.
"""
output_io = StringIO()
with redirect_stdout(output_io):
func()
output = output_io.getvalue()
> assert output != ""
E AssertionError: assert '' != ''
tests/test_logging.py:147: AssertionError
Raw output
/home/vsts/work/1/s/tests/test_logging.py:147: AssertionError: assert '' != ''
Check failure on line 1 in tests/test_logging.py::test_call_outputs[print_versions]
azure-pipelines / scverse.scanpy
tests/test_logging.py::test_call_outputs[print_versions]
func = <function print_versions at 0x7f628227ed40>
@pytest.mark.parametrize(
"func",
[
sc.logging.print_header,
sc.logging.print_versions,
sc.logging.print_version_and_date,
],
)
def test_call_outputs(func):
"""
Tests that these functions print to stdout and don't error.
Checks that https://github.com/scverse/scanpy/issues/1437 is fixed.
"""
output_io = StringIO()
with redirect_stdout(output_io):
func()
output = output_io.getvalue()
> assert output != ""
E AssertionError: assert '' != ''
tests/test_logging.py:147: AssertionError
Raw output
/home/vsts/work/1/s/tests/test_logging.py:147: AssertionError: assert '' != ''