gh-109413: libregrtest: Add and improve type annotations (#109405)

This commit is contained in:
Alex Waygood 2023-09-14 19:33:18 +01:00 committed by GitHub
parent 21e80f4c19
commit 3b9d10b031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 83 additions and 33 deletions

View file

@ -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