Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Errors in testing exit codes #607

@ElliottKasoar

Description

@ElliottKasoar

As seen in #606, there are errors along the lines of

>       assert result.exit_code == 2
E       AssertionError: assert 1 == 2
E        +  where 1 = <Result ValueError('A calculator must be attached to `struct`')>.exit_code

tests/test_singlepoint_cli.py:574: AssertionError

This is happening on main too, and probably from click 8.3.0, released yesterday.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtestingUnit testing or CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions