Skip to content

Commit

Permalink
TST: drop superfluous call to os.fspath()
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Oct 23, 2024
1 parent 4f5c136 commit 869ffa6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# SPDX-License-Identifier: MIT

import os
import pathlib
import stat
import sys
Expand Down Expand Up @@ -139,7 +138,7 @@ def bar():
try:
pathlib.Path('pure.py').write_text(new)
pathlib.Path('other.py').touch()
sdist_path = mesonpy.build_sdist(os.fspath(tmp_path))
sdist_path = mesonpy.build_sdist(tmp_path)
finally:
pathlib.Path('pure.py').write_text(old)
pathlib.Path('other.py').unlink()
Expand Down

0 comments on commit 869ffa6

Please sign in to comment.