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 1
1
import doctest
2
2
import unittest
3
+ from pathlib import Path
3
4
from typing import Any , List
4
5
from unittest import BaseTestSuite
5
6
6
- from locate import this_dir
7
-
8
- repo_dir = this_dir ().parent
7
+ repo_dir = Path (__file__ ).resolve ().parent .parent
9
8
10
9
11
10
# noinspection PyUnusedLocal
Original file line number Diff line number Diff line change 4
4
from tempfile import TemporaryDirectory
5
5
from typing import Generator
6
6
7
- from locate import this_dir
8
7
from mkdocs .commands .build import build
9
8
from mkdocs .config import load_config
10
9
11
- repo_dir = this_dir () .parent
10
+ repo_dir = Path ( __file__ ). resolve (). parent .parent
12
11
examples_dir = repo_dir .joinpath ("examples" )
13
12
14
13
You can’t perform that action at this time.
0 commit comments