Skip to content

Commit 666bee0

Browse files
authored
Merge pull request #187 from mgorny/click82
Fix tests for click >= 8.2.0
2 parents e0babba + 78ff40b commit 666bee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ fix = true
114114

115115
[tool.uv]
116116
dev-dependencies = [
117-
"click>=8.1.8,<8.2.0",
117+
"click>=8.1.8",
118118
"codecov>=2.1.13",
119119
"mkdocs-gen-files>=0.5.0",
120120
"mkdocs-git-authors-plugin>=0.9.2",

tests/test_builds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def test_type_unknown(mkdocs_file, error, tmp_path):
538538
result = build_docs_setup(testproject_path)
539539
assert result.exit_code == 1
540540

541-
assert error in result.stdout or error in str(result.exc_info[0])
541+
assert error in result.output or error in str(result.exc_info[0])
542542

543543

544544
def test_exclude_pages(tmp_path):

0 commit comments

Comments
 (0)