Skip to content

Commit

Permalink
Fix test for issue #18
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-cbarber committed Jun 23, 2024
1 parent 9f5da02 commit 01a6499
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
# runtime
- python >=3.8,<3.13
- mkdocstrings-python >=1.6.2,<1.10 # TODO: issue #18
- mkdocstrings-python >=1.6.2,<2.0
# build
- build >=0.7.0
- hatchling >=1.21
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ keywords = [
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"mkdocstrings-python >=1.6.2,<1.10" # TODO: issue #18
"mkdocstrings-python >=1.6.2,<2.0"
]

[project.urls]
Expand Down
3 changes: 2 additions & 1 deletion tests/test_handler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022. Analog Devices Inc.
# Copyright (c) 2022-2024. Analog Devices Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,6 +40,7 @@ def test_handler(tmpdir: PathLike,
config_file = os.path.join(tmpdir, 'mkdocs.yml')
os.mkdir(os.path.join(tmpdir, 'path1'))
os.mkdir(os.path.join(tmpdir, 'path2'))
os.makedirs(os.path.join(tmpdir, 'custom_templates', 'python'))

#
# Test construction
Expand Down

0 comments on commit 01a6499

Please sign in to comment.