File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313import sys
1414import tokenize
1515import types
16- from pathlib import Path
1716from typing import Dict
1817from typing import List
1918from typing import Optional
2827)
2928from _pytest .compat import fspath
3029from _pytest .pathlib import fnmatch_ex
30+ from _pytest .pathlib import Path
3131from _pytest .pathlib import PurePath
3232
3333# pytest caches rewritten pycs in pycache dirs
Original file line number Diff line number Diff line change 88import types
99import warnings
1010from functools import lru_cache
11- from pathlib import Path
1211from types import TracebackType
1312from typing import Any
1413from typing import Callable
4039from _pytest .compat import importlib_metadata
4140from _pytest .outcomes import fail
4241from _pytest .outcomes import Skipped
42+ from _pytest .pathlib import Path
4343from _pytest .warning_types import PytestConfigWarning
4444
4545if False : # TYPE_CHECKING
Original file line number Diff line number Diff line change 99import textwrap
1010import zipfile
1111from functools import partial
12- from pathlib import Path
1312
1413import py
1514
2322from _pytest .assertion .rewrite import PYTEST_TAG
2423from _pytest .assertion .rewrite import rewrite_asserts
2524from _pytest .main import ExitCode
25+ from _pytest .pathlib import Path
2626
2727
2828def setup_module (mod ):
Original file line number Diff line number Diff line change 11import os
22import sys
33import textwrap
4- from pathlib import Path
54
65import _pytest ._code
76import pytest
1312from _pytest .config .findpaths import get_common_ancestor
1413from _pytest .config .findpaths import getcfg
1514from _pytest .main import ExitCode
15+ from _pytest .pathlib import Path
1616
1717
1818class TestParseIni :
Original file line number Diff line number Diff line change 11import os
22import textwrap
3- from pathlib import Path
43
54import py
65
76import pytest
87from _pytest .config import PytestPluginManager
98from _pytest .main import ExitCode
9+ from _pytest .pathlib import Path
1010
1111
1212def ConftestWithSetinitial (path ):
Original file line number Diff line number Diff line change 11import os
22import platform
33from datetime import datetime
4- from pathlib import Path
54from xml .dom import minidom
65
76import py
87import xmlschema
98
109import pytest
1110from _pytest .junitxml import LogXML
11+ from _pytest .pathlib import Path
1212from _pytest .reports import BaseReport
1313
1414
You can’t perform that action at this time.
0 commit comments