Skip to content

Commit 136f372

Browse files
committed
Fix variable name in Python snippet
1 parent 28b6d88 commit 136f372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/snippets/test/fixtures/python/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
FILE = os.path.realpath(__file__)
1313

1414
# Extract the directory in which this file resides:
15-
DIR = os.path.dirname(file)
15+
DIR = os.path.dirname(FILE)
1616

1717

1818
def gen(x, name):

0 commit comments

Comments
 (0)