Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
picnixz committed Jan 1, 2026
commit e074d33b90410aa6bc54bdd8d50b119654cb8a30
2 changes: 1 addition & 1 deletion Lib/test/test_os/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -2652,7 +2652,7 @@ def __getitem__(self): return 1
def keys(self): return KEYS
def values(self): return VALUES

args = [sys.executable, '-c', "print('{message}')"]
args = [sys.executable, '-c', "print({message!r})"]
os.execve(args[0], args, MyEnv())
""".format(message=message)

Expand Down
Loading