Skip to content

Commit 337e175

Browse files
committed
Avoid aliasing jaraco.path.build in tests_pyprojecttoml
1 parent 27ec7fa commit 337e175

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setuptools/tests/config/test_pyprojecttoml.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
from configparser import ConfigParser
33
from inspect import cleandoc
44

5+
import jaraco.path
56
import pytest
67
import tomli_w
78
from path import Path
8-
from jaraco.path import build as path_build
99

1010
from setuptools.config.pyprojecttoml import (
1111
read_configuration,
@@ -108,7 +108,7 @@ def create_example(path, pkg_root):
108108
# Use this opportunity to ensure namespaces are discovered
109109
files[pkg_root] = {**packages, "other": {"nested": {"__init__.py": ""}}}
110110

111-
path_build(files, prefix=path)
111+
jaraco.path.build(files, prefix=path)
112112

113113

114114
def verify_example(config, path, pkg_root):
@@ -361,7 +361,7 @@ def test_include_package_data_in_setuppy(tmp_path):
361361
"pyproject.toml": "[project]\nname = 'myproj'\nversion='42'\n",
362362
"setup.py": "__import__('setuptools').setup(include_package_data=False)",
363363
}
364-
path_build(files, prefix=tmp_path)
364+
jaraco.path.build(files, prefix=tmp_path)
365365

366366
with Path(tmp_path):
367367
dist = distutils.core.run_setup("setup.py", {}, stop_after="config")

0 commit comments

Comments
 (0)