mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
gclient_eval: Make compatible with Python 3.
Bug: 984182 Change-Id: I9485614658efa0ea9d50ea666210af63c3b97adc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1716131 Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
@@ -86,7 +86,7 @@ class GClientEvalTest(unittest.TestCase):
|
||||
input_data = ['{'] + ['"%s": "%s",' % (n, n) for n in test_case] + ['}']
|
||||
expected = [(str(n), str(n)) for n in test_case]
|
||||
result = gclient_eval._gclient_eval(''.join(input_data))
|
||||
self.assertEqual(expected, result.items())
|
||||
self.assertEqual(expected, list(result.items()))
|
||||
|
||||
|
||||
class ExecTest(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user