Skip to content

Commit

Permalink
Fix EncodingWarning in test_spawn. Ref #232.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 2, 2024
1 parent 5377c33 commit deb1593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/tests/test_spawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_find_executable(self, tmp_path):
program = program_noeext + ".exe"

program_path = tmp_path / program
program_path.write_text("")
program_path.write_text("", encoding='utf-8')
program_path.chmod(stat.S_IXUSR)
filename = str(program_path)
tmp_dir = path.Path(tmp_path)
Expand Down

0 comments on commit deb1593

Please sign in to comment.