Skip to content

Commit 82f27e8

Browse files
committed
TST: drop superfluous call to os.fspath()
1 parent 3257da4 commit 82f27e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_sdist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
# SPDX-License-Identifier: MIT
44

5-
import os
65
import pathlib
76
import stat
87
import sys
@@ -144,7 +143,7 @@ def bar():
144143
try:
145144
pathlib.Path('pure.py').write_text(new)
146145
pathlib.Path('other.py').touch()
147-
sdist_path = mesonpy.build_sdist(os.fspath(tmp_path))
146+
sdist_path = mesonpy.build_sdist(tmp_path)
148147
finally:
149148
pathlib.Path('pure.py').write_text(old)
150149
pathlib.Path('other.py').unlink()

0 commit comments

Comments
 (0)