mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE][Easy] replace import pathlib
with from pathlib import Path
(#129426)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129426 Approved by: https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
2effbcfcd8
commit
4ee1cb9b95
@ -1,11 +1,11 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import pathlib
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
REPO_ROOT = pathlib.Path(__file__).resolve().parent.parent.parent.parent
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent.parent.parent
|
||||
sys.path.append(str(REPO_ROOT))
|
||||
import tools.testing.target_determination.heuristics.interface as interface
|
||||
from tools.testing.test_run import TestRun
|
||||
|
Reference in New Issue
Block a user