Skip to content

Commit 018fa5a

Browse files
committed
TST: drop superfluous call to os.fspath()
1 parent 9d94e43 commit 018fa5a

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 re
87
import stat
@@ -140,7 +139,7 @@ def bar():
140139
try:
141140
pathlib.Path('pure.py').write_text(new)
142141
pathlib.Path('other.py').touch()
143-
sdist_path = mesonpy.build_sdist(os.fspath(tmp_path))
142+
sdist_path = mesonpy.build_sdist(tmp_path)
144143
finally:
145144
pathlib.Path('pure.py').write_text(old)
146145
pathlib.Path('other.py').unlink()

0 commit comments

Comments
 (0)