We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
locate
1 parent a501ffa commit bb7d88eCopy full SHA for bb7d88e
3 files changed
test-requirements.txt
@@ -1 +0,0 @@
1
-locate==1.1.1
test/test_doctests.py
@@ -1,11 +1,10 @@
import doctest
2
import unittest
3
+from pathlib import Path
4
from typing import Any, List
5
from unittest import BaseTestSuite
6
-from locate import this_dir
7
-
8
-repo_dir = this_dir().parent
+repo_dir = Path(__file__).resolve().parent.parent
9
10
11
# noinspection PyUnusedLocal
test/test_examples.py
@@ -4,11 +4,10 @@
from tempfile import TemporaryDirectory
from typing import Generator
from mkdocs.commands.build import build
from mkdocs.config import load_config
12
examples_dir = repo_dir.joinpath("examples")
13
14
0 commit comments