mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-109413: libregrtest: Add and improve type annotations (#109405)
This commit is contained in:
parent
21e80f4c19
commit
3b9d10b031
13 changed files with 83 additions and 33 deletions
|
@ -24,7 +24,7 @@ SPLITTESTDIRS: set[TestName] = {
|
|||
}
|
||||
|
||||
|
||||
def findtestdir(path=None):
|
||||
def findtestdir(path: StrPath | None = None) -> StrPath:
|
||||
return path or os.path.dirname(os.path.dirname(__file__)) or os.curdir
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue