From 3cff99cd7846ec83ac14b74c9dfe79b069187c16 Mon Sep 17 00:00:00 2001 From: bitranox Date: Fri, 21 Jul 2023 18:34:35 +0200 Subject: [PATCH] v2.1.3 -------- 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 --- tests/test_cli.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index da3d0a4..1eae03c 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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")