File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1- locate==1.1.1
Original file line number Diff line number Diff line change 11import doctest
22import unittest
3+ from pathlib import Path
34from typing import Any , List
45from unittest import BaseTestSuite
56
6- from locate import this_dir
7-
8- repo_dir = this_dir ().parent
7+ repo_dir = Path (__file__ ).resolve ().parent .parent
98
109
1110# noinspection PyUnusedLocal
Original file line number Diff line number Diff line change 44from tempfile import TemporaryDirectory
55from typing import Generator
66
7- from locate import this_dir
87from mkdocs .commands .build import build
98from mkdocs .config import load_config
109
11- repo_dir = this_dir () .parent
10+ repo_dir = Path ( __file__ ). resolve (). parent .parent
1211examples_dir = repo_dir .joinpath ("examples" )
1312
1413
You can’t perform that action at this time.
0 commit comments