Skip to content

Commit b2b7039

Browse files
rickeylevcopybara-github
authored andcommitted
python: Fix //tools/python:pywrapper_test; use correct path to program
I typo'd the variable name when copying into my Google codebase. Name should have been "path" instead of "cmd". PiperOrigin-RevId: 507630790 Change-Id: I4c84b70ac0b978cbbb36bdf72177f31211456964
1 parent 44782dc commit b2b7039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/python/pywrapper_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def setup_tool(self, cmd):
9090
# work -- they simply fail with "Killed: 9". To workaround that, just
9191
# re-exec the actual binary.
9292
self.ScratchFile("dir/" + cmd,
93-
["#!/bin/sh", 'exec {} "$@"'.format(cmd)],
93+
["#!/bin/sh", 'exec {} "$@"'.format(path)],
9494
executable=True)
9595

9696
def locate_runfile(self, runfile_path):

0 commit comments

Comments
 (0)