Skip to content

Commit e6213cc

Browse files
committed
TST: drop superfluous call to os.fspath()
1 parent ea24e26 commit e6213cc

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
@@ -139,7 +138,7 @@ def bar():
139138
try:
140139
pathlib.Path('pure.py').write_text(new)
141140
pathlib.Path('other.py').touch()
142-
sdist_path = mesonpy.build_sdist(os.fspath(tmp_path))
141+
sdist_path = mesonpy.build_sdist(tmp_path)
143142
finally:
144143
pathlib.Path('pure.py').write_text(old)
145144
pathlib.Path('other.py').unlink()

0 commit comments

Comments
 (0)