Skip to content

Commit 0b75ab7

Browse files
committed
Don't test with a file in docs/
It may not be present when building
1 parent 3edda19 commit 0b75ab7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,8 @@ def test_expand_args(monkeypatch):
686686
monkeypatch.setenv("CLICK_TEST", "hello")
687687
assert "hello" in asyncclick.utils._expand_args(["$CLICK_TEST"])
688688
assert "pyproject.toml" in asyncclick.utils._expand_args(["*.toml"])
689-
assert os.path.join("docs", "conf.py") in asyncclick.utils._expand_args(
690-
["**/conf.py"]
689+
assert os.path.join("tests", "conftest.py") in asyncclick.utils._expand_args(
690+
["**/conftest.py"]
691691
)
692692
assert "*.not-found" in asyncclick.utils._expand_args(["*.not-found"])
693693
# a bad glob pattern, such as a pytest identifier, should return itself

0 commit comments

Comments
 (0)