@@ -394,17 +394,17 @@ def test_filter_to_company_with_default(self):
394394
395395def test_filter_to_tag (self ):
396396company = "PythonTestSuite"
397- data = self .run_py ([f "-V:3.100" ])
397+ data = self .run_py (["-V:3.100" ])
398398self .assertEqual ("X.Y.exe" ,data ["LaunchCommand" ])
399399self .assertEqual (company ,data ["env.company" ])
400400self .assertEqual ("3.100" ,data ["env.tag" ])
401401
402- data = self .run_py ([f "-V:3.100-32" ])
402+ data = self .run_py (["-V:3.100-32" ])
403403self .assertEqual ("X.Y-32.exe" ,data ["LaunchCommand" ])
404404self .assertEqual (company ,data ["env.company" ])
405405self .assertEqual ("3.100-32" ,data ["env.tag" ])
406406
407- data = self .run_py ([f "-V:3.100-arm64" ])
407+ data = self .run_py (["-V:3.100-arm64" ])
408408self .assertEqual ("X.Y-arm64.exe -X fake_arg_for_test" ,data ["LaunchCommand" ])
409409self .assertEqual (company ,data ["env.company" ])
410410self .assertEqual ("3.100-arm64" ,data ["env.tag" ])
@@ -421,7 +421,7 @@ def test_filter_to_company_and_tag(self):
421421def test_filter_with_single_install (self ):
422422company = "PythonTestSuite1"
423423data = self .run_py (
424- [f "-V:Nonexistent" ],
424+ ["-V:Nonexistent" ],
425425env = {"PYLAUNCHER_LIMIT_TO_COMPANY" :company },
426426expect_returncode = 103 ,
427427 )
@@ -500,7 +500,7 @@ def test_py_default_short_argv0(self):
500500data = self .run_py (["--version" ],argv = f'{ argv0 } --version' )
501501self .assertEqual ("PythonTestSuite" ,data ["SearchInfo.company" ])
502502self .assertEqual ("3.100" ,data ["SearchInfo.tag" ])
503- self .assertEqual (f' X.Y.exe --version' ,data ["stdout" ].strip ())
503+ self .assertEqual (" X.Y.exe --version" ,data ["stdout" ].strip ())
504504
505505def test_py_default_in_list (self ):
506506data = self .run_py (["-0" ],env = TEST_PY_ENV )
@@ -662,38 +662,38 @@ def test_install(self):
662662self .assertIn ("9PJPW5LDXLZ5" ,cmd )
663663
664664def test_literal_shebang_absolute (self ):
665- with self .script (f "#! C:/some_random_app -witharg" )as script :
665+ with self .script ("#! C:/some_random_app -witharg" )as script :
666666data = self .run_py ([script ])
667667self .assertEqual (
668668f"C:\\ some_random_app -witharg{ script } " ,
669669data ["stdout" ].strip (),
670670 )
671671
672672def test_literal_shebang_relative (self ):
673- with self .script (f "#! ..\\ some_random_app -witharg" )as script :
673+ with self .script ("#! ..\\ some_random_app -witharg" )as script :
674674data = self .run_py ([script ])
675675self .assertEqual (
676676f"{ script .parent .parent } \\ some_random_app -witharg{ script } " ,
677677data ["stdout" ].strip (),
678678 )
679679
680680def test_literal_shebang_quoted (self ):
681- with self .script (f '#! "some random app" -witharg' )as script :
681+ with self .script ('#! "some random app" -witharg' )as script :
682682data = self .run_py ([script ])
683683self .assertEqual (
684684f'"{ script .parent } \\ some random app" -witharg{ script } ' ,
685685data ["stdout" ].strip (),
686686 )
687687
688- with self .script (f '#! some" random "app -witharg' )as script :
688+ with self .script ('#! some" random "app -witharg' )as script :
689689data = self .run_py ([script ])
690690self .assertEqual (
691691f'"{ script .parent } \\ some random app" -witharg{ script } ' ,
692692data ["stdout" ].strip (),
693693 )
694694
695695def test_literal_shebang_quoted_escape (self ):
696- with self .script (f '#! some\\ " random "app -witharg' )as script :
696+ with self .script ('#! some\\ " random "app -witharg' )as script :
697697data = self .run_py ([script ])
698698self .assertEqual (
699699f'"{ script .parent } \\ some\\ random app" -witharg{ script } ' ,