chrome/android/monochrome/scripts/monochrome_apk_checker_test.py
def VerifyUncompressed(self, monochrome, apk, apk_name):
    """Verify uncompressed files in apk are a subset of those in monochrome.

    Verify files not being compressed in apk are also uncompressed in
    Monochrome APK.
    """
    uncompressed = [i.filename for i in apk if i.uncompressed ]
    monochrome_uncompressed = [i.filename for i in monochrome if i.uncompressed]
    compressed = [u for u in uncompressed if u not in monochrome_uncompressed]
    self.assertEquals(len(compressed), 0, """\
Uncompressed files in {0} should also be uncompressed in Monochrome.
However these files were uncompressed in {0} but compressed in Monochrome:
{1}
""".format(apk_name, '\n'.join(compressed)))
Verify uncompressed files in apk are a subset of those in monochrome.

    Verify files not being compressed in apk are also uncompressed in
    Monochrome APK.
    
Verify uncompressed files in apk are a subset of those in monochrome.
Verify files not being compressed in apk are also uncompressed in
Monochrome APK.
Verify uncompressed files in apk are a subset of those in monochrome . Verify files not being compressed in apk are also uncompressed in Monochrome APK .
def VerifyUncompressed(self, monochrome, apk, apk_name):
    uncompressed = [i.filename for i in apk if i.uncompressed ]
    monochrome_uncompressed = [i.filename for i in monochrome if i.uncompressed]
    compressed = [u for u in uncompressed if u not in monochrome_uncompressed]
    self.assertEquals(len(compressed), 0, """\
Uncompressed files in {0} should also be uncompressed in Monochrome.
However these files were uncompressed in {0} but compressed in Monochrome:
{1}
""".format(apk_name, '\n'.join(compressed)))
def VerifyUncompressed ( self , monochrome , apk , apk_name ) : uncompressed = [ i . filename for i in apk if i . uncompressed ] monochrome_uncompressed = [ i . filename for i in monochrome if i . uncompressed ] compressed = [ u for u in uncompressed if u not in monochrome_uncompressed ] self . assertEquals ( len ( compressed ) , 0 , """\
Uncompressed files in {0} should also be uncompressed in Monochrome.
However these files were uncompressed in {0} but compressed in Monochrome:
{1}
""" . format ( apk_name , '\n' . join ( compressed ) ) )
Verify uncompressed files in apk are a subset of those in monochrome.
Verify uncompressed files in apk are a subset of those in monochrome .
"""Verify uncompressed files in apk are a subset of those in monochrome.

    Verify files not being compressed in apk are also uncompressed in
    Monochrome APK.
    """
self
monochrome
apk
apk_name