tests/run-tests.py
changeset 47499 81d70de39c7e
parent 47323 7ea39d633cf3
child 47500 38f00245edb3
--- a/tests/run-tests.py	Fri Jul 02 20:18:42 2021 +0200
+++ b/tests/run-tests.py	Fri Jul 02 22:48:35 2021 +0200
@@ -3534,10 +3534,9 @@
         # os.symlink() is a thing with py3 on Windows, but it requires
         # Administrator rights.
         if getattr(os, 'symlink', None) and os.name != 'nt':
-            vlog(
-                "# Making python executable in test path a symlink to '%s'"
-                % sysexecutable
-            )
+            msg = "# Making python executable in test path a symlink to '%s'"
+            msg %= sysexecutable
+            vlog(msg)
             mypython = os.path.join(self._tmpbindir, pyexename)
             try:
                 if os.readlink(mypython) == sysexecutable: