forked from pool/python-click-extra
- Add click818.patch to fix tests with new click OBS-URL: https://build.opensuse.org/request/show/1238230 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-extra?expand=0&rev=5
25 lines
764 B
Diff
25 lines
764 B
Diff
From ab9cff085aefff5787a2c9c7def8e71c9d3ed379 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Deldycke <kevin@deldycke.com>
|
|
Date: Fri, 3 Jan 2025 08:47:19 +0400
|
|
Subject: [PATCH] Fix 8.1.8 tests
|
|
|
|
---
|
|
pyproject.toml | 5 +----
|
|
tests/test_parameters.py | 2 +-
|
|
uv.lock | 2 +-
|
|
3 files changed, 3 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/tests/test_parameters.py b/tests/test_parameters.py
|
|
index f064b448d..032c9cffd 100644
|
|
--- a/tests/test_parameters.py
|
|
+++ b/tests/test_parameters.py
|
|
@@ -407,7 +407,7 @@ def show_params():
|
|
table = [
|
|
(
|
|
"show-params.help",
|
|
- "click.core.Option",
|
|
+ "click.decorators.HelpOption",
|
|
"--help",
|
|
"click.types.BoolParamType",
|
|
"bool",
|