summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Tao Bao <tbao@google.com> 2019-07-24 23:31:19 -0700
committer Tao Bao <tbao@google.com> 2019-07-24 23:34:25 -0700
commitbb73388acf41cf7e94e485dfad6e549b1710b518 (patch)
treeec3ac9b6fe6e057861dfa93c26e0539a81539b68 /tools/warn/java_warn_patterns.py
parent6722de127788be23c051b17424ae4d239da3ac6e (diff)
releasetools: Fix the use of StringIO.
Based on the actual semantics, it actually wants an in-memory _bytes_ buffer (io.BytesIO), especially when running with Python 3. This CL fixes the issue and adds a unittest. Bug: 131631303 Test: python -m unittest test_sign_target_files_apks Test: python3 -m unittest test_sign_target_files_apks Change-Id: I3fb067acc26713f1842e831225607779fd0d1b7e
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions