Skip to content

Commit

Permalink
umu_test: fix SyntaxError in f-string expression
Browse files Browse the repository at this point in the history
- It seems we can only use the same outer quotes within f-strings in Python 3.12.
  • Loading branch information
R1kaB3rN committed Jun 17, 2024
1 parent b662937 commit 74980ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umu/umu_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ def test_build_command_nopv(self):
)
proton, verb, exe, *_ = [*test_command]
self.assertEqual(
proton, f"{self.env["PROTONPATH"]}/proton", "Expected PROTONPATH"
proton, f"{self.env['PROTONPATH']}/proton", "Expected PROTONPATH"
)
self.assertEqual(verb, "waitforexitandrun", "Expected PROTON_VERB")
self.assertEqual(exe, self.env["EXE"], "Expected EXE")
Expand Down

0 comments on commit 74980ab

Please sign in to comment.