Skip to content

Commit 8f367a5

Browse files
authored
Apply suggestions from code review
1 parent 000c2f5 commit 8f367a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_launcher.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def test_py_shebang_valid_bom(self):
618618
data = self.run_py([script, "-postarg"])
619619
self.assertEqual("PythonTestSuite", data["SearchInfo.company"])
620620
self.assertEqual("3.100", data["SearchInfo.tag"])
621-
self.assertEqual(f"X.Y.exe -prearg {quote(script)} -postarg", data["stdout"].strip())
621+
self.assertEqual(f"X.Y.exe -prearg {script} -postarg", data["stdout"].strip())
622622

623623
def test_py_shebang_invalid_bom(self):
624624
with self.py_ini(TEST_PY_DEFAULTS):
@@ -628,7 +628,7 @@ def test_py_shebang_invalid_bom(self):
628628
self.assertIn("Invalid BOM", data["stderr"])
629629
self.assertEqual("PythonTestSuite", data["SearchInfo.company"])
630630
self.assertEqual("3.100", data["SearchInfo.tag"])
631-
self.assertEqual(f"X.Y.exe {quote(script)} -postarg", data["stdout"].strip())
631+
self.assertEqual(f"X.Y.exe {script} -postarg", data["stdout"].strip())
632632

633633
def test_py_handle_64_in_ini(self):
634634
with self.py_ini("\n".join(["[defaults]", "python=3.999-64"])):

0 commit comments

Comments
 (0)