diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index 31c3e88..c1955f5 100644 --- a/tests/cli/test_cli.py +++ b/tests/cli/test_cli.py @@ -96,7 +96,8 @@ class TestUtilityFunctions: validate_compression_level("abc") with pytest.raises( - argparse.ArgumentTypeError, match=r"Invalid compression level: '1\\.5'" + argparse.ArgumentTypeError, + match=r"Invalid compression level: '1\.5'\. Must be an integer between 1 and 22\.", ): validate_compression_level("1.5")