commit | 85e2fc61044a45b6b6e9dc5d83ae13afed857c8f | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Sat Aug 06 01:00:25 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Aug 06 01:00:25 2022 +0000 |
tree | 8b7b196c3fc941c10ca3bd8fffc3993aa83a7220 | |
parent | 462c542855a3f84ab03b65fe7d99fc1bdd0c4ea6 [diff] | |
parent | e0cb4e1094f452c778b9bbcaeca7f06b1925084b [diff] |
Merge "Fix old python2 test issue."
diff --git a/libc/kernel/tools/cpp.py b/libc/kernel/tools/cpp.py index 26121ca..a040474 100755 --- a/libc/kernel/tools/cpp.py +++ b/libc/kernel/tools/cpp.py
@@ -1647,7 +1647,7 @@ def get_blocks(self, lines): blocks = BlockParser().parse(CppStringTokenizer('\n'.join(lines))) - return map(lambda a: str(a), blocks) + return list(map(lambda a: str(a), blocks)) def test_hash(self): self.assertEqual(self.get_blocks(["#error hello"]), ["#error hello"])