Skip to content

Commit e9c05fa

Browse files
committed
Don't test with a file in docs/
It may not be present when building
1 parent c288643 commit e9c05fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def test_expand_args(monkeypatch):
684684
monkeypatch.setenv("CLICK_TEST", "hello")
685685
assert "hello" in asyncclick.utils._expand_args(["$CLICK_TEST"])
686686
assert "pyproject.toml" in asyncclick.utils._expand_args(["*.toml"])
687-
assert os.path.join("docs", "conf.py") in asyncclick.utils._expand_args(["**/conf.py"])
687+
assert os.path.join("tests", "conftest.py") in asyncclick.utils._expand_args(["**/conftest.py"])
688688
assert "*.not-found" in asyncclick.utils._expand_args(["*.not-found"])
689689
# a bad glob pattern, such as a pytest identifier, should return itself
690690
assert asyncclick.utils._expand_args(["test.py::test_bad"])[0] == "test.py::test_bad"

0 commit comments

Comments
 (0)