Skip to content

Commit

Permalink
v2.1.3
Browse files Browse the repository at this point in the history
--------
2023-07-21:
    - require minimum python 3.8
    - remove python 3.7 tests
    - introduce PEP517 packaging standard
    - introduce pyproject.toml build-system
    - remove mypy.ini
    - remove pytest.ini
    - remove setup.cfg
    - remove setup.py
    - remove .bettercodehub.yml
    - remove .travis.yml
    - update black config
    - clean ./tests/test_cli.py
    - add codeql badge
    - move 3rd_party_stubs outside the src directory to ``./.3rd_party_stubs``
    - add pypy 3.10 tests
    - add python 3.12-dev tests
  • Loading branch information
bitranox committed Jul 21, 2023
1 parent cbb5bc6 commit 3cff99c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ def call_cli_command(commandline_args: str = "") -> bool:


def test_cli_commands() -> None:
# due to a bug in python 3.8.1 with setup.py test on travis we need to cancel the click tests there !
if sys.version_info < (3, 8, 1) or sys.version_info >= (3, 8, 2):
assert not call_cli_command("--unknown_option")
assert call_cli_command("--version")
assert call_cli_command("-h")
assert call_cli_command("info")
assert call_cli_command("--traceback info")
assert not call_cli_command("--unknown_option")
assert call_cli_command("--version")
assert call_cli_command("-h")
assert call_cli_command("info")
assert call_cli_command("--traceback info")

0 comments on commit 3cff99c

Please sign in to comment.