Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to session-info2 #3384

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Switch to session-info2

6ae5682
Select commit
Loading
Failed to load commit list.
Draft

Switch to session-info2 #3384

Switch to session-info2
6ae5682
Select commit
Loading
Failed to load commit list.
Azure Pipelines / scverse.scanpy failed Nov 22, 2024 in 22m 51s

Build #20241122.12 had test failures

Details

Tests

  • Failed: 34 (0.37%)
  • Passed: 8,583 (92.59%)
  • Other: 653 (7.04%)
  • Total: 9,270
Code coverage

  • 9852 of 12909 line covered (76.32%)

Annotations

Check failure on line 2334 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / scverse.scanpy

Build log #L2334

Bash exited with code '1'.

Check failure on line 2685 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / scverse.scanpy

Build log #L2685

Bash exited with code '1'.

Check failure on line 2354 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / scverse.scanpy

Build log #L2354

Bash exited with code '1'.

Check failure on line 2217 in Build log

See this annotation in the file changed.

@azure-pipelines 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]

See this annotation in the file changed.

@azure-pipelines 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]

See this annotation in the file changed.

@azure-pipelines 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]

See this annotation in the file changed.

@azure-pipelines 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]

See this annotation in the file changed.

@azure-pipelines 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 '' != ''