From 36d230ed2836c20d8a0bd0f9577775604743fe18 Mon Sep 17 00:00:00 2001 From: Guillaume Lessard Date: Wed, 25 Jan 2023 11:06:44 -0800 Subject: [PATCH] [gardening] change an ambiguous variable name - lowercase-l trips some python lint configurations --- utils/round-trip-syntax-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/round-trip-syntax-test b/utils/round-trip-syntax-test index 5dd3c83436c36..8ad3849bf7b09 100755 --- a/utils/round-trip-syntax-test +++ b/utils/round-trip-syntax-test @@ -74,7 +74,7 @@ class RoundTripTask(object): logging.error(self.stderr.decode('utf-8', errors='replace')) raise RuntimeError() - contents = ''.join(map(lambda l: l.decode('utf-8', errors='replace'), + contents = ''.join(map(lambda _: _.decode('utf-8', errors='replace'), open(self.input_filename, 'rb').readlines())) stdout_contents = self.stdout.decode('utf-8', errors='replace')