Skip to content

Commit 75fd24e

Browse files
authored
Fix no attribute 'join_path' error in Windows test (#4995)
2 parents 18bfe51 + 3dfc763 commit 75fd24e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

newsfragments/4995.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed ``no attribute 'join_path'`` error in Windows test

setuptools/tests/test_windows_wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def create_script(cls, tmpdir):
4848

4949
# also copy cli.exe to the sample directory
5050
with (tmpdir / cls.wrapper_name).open('wb') as f:
51-
w = resources.files('setuptools').join_path(cls.wrapper_source).read_bytes()
51+
w = resources.files('setuptools').joinpath(cls.wrapper_source).read_bytes()
5252
f.write(w)
5353

5454

0 commit comments

Comments
 (0)