Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_pdfbase_ttfonts.py   mwlib.ext(Download)
        for n in range(4):
            pos = subset.read_ushort()    # this is actually offset / 2
            self.failIf(pos % 2 != 0, "glyph %d at +%d should be long aligned" % (n, pos * 2))
 
        self.assertEquals(subset.name, "BitstreamVeraSans-Roman")

src/r/e/reportlab-3.1.8/tests/test_pdfbase_ttfonts.py   reportlab(Download)
        for n in range(4):
            pos = subset.read_ushort()    # this is actually offset / 2
            self.failIf(pos % 2 != 0, "glyph %d at +%d should be long aligned" % (n, pos * 2))
 
        self.assertEquals(subset.name, b"BitstreamVeraSans-Roman")

src/r/e/ReportLab-HEAD/tests/test_pdfbase_ttfonts.py   ReportLab(Download)
        for n in range(4):
            pos = subset.read_ushort()    # this is actually offset / 2
            self.failIf(pos % 2 != 0, "glyph %d at +%d should be long aligned" % (n, pos * 2))
 
        self.assertEquals(subset.name, "BitstreamVeraSans-Roman")