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

All Samples(21)  |  Call(0)  |  Derive(12)  |  Import(9)

src/r/e/ReportLab-HEAD/tests/test_pdfbase_ttfonts.py   ReportLab(Download)
Serif Regular and is covered under the license in ../fonts/bitstream-vera-license.txt.
"""
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import string
class TTFontFileTestCase(NearTestCase):
    "Tests TTFontFile, TTFontParser and TTFontMaker classes"
 
    def testFontFileFailures(self):
        "Tests TTFontFile constructor error checks"
class TTFontTestCase(NearTestCase):
    "Tests TTFont class"
 
    def testParseUTF8(self):
        "Tests parse_utf8"

src/r/e/ReportLab-HEAD/tests/test_pdfbase_pdfdoc.py   ReportLab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import unittest,re,codecs
from reportlab.pdfbase import pdfdoc
 
class PdfdocTestCase(NearTestCase):

src/r/e/ReportLab-HEAD/tests/test_pdfbase_encodings.py   ReportLab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import unittest
from reportlab.pdfgen.canvas import Canvas
from reportlab.pdfbase import pdfmetrics
class TextEncodingTestCase(NearTestCase):
    """Tests of expected Unicode and encoding behaviour
    """
    def setUp(self):
        self.vera = TTFont("Vera", "Vera.ttf")

src/r/e/reportlab-3.1.8/tests/test_pdfbase_ttfonts.py   reportlab(Download)
Serif Regular and is covered under the license in ../fonts/bitstream-vera-license.txt.
"""
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
if __name__=='__main__':
    setOutDir(__name__)
class TTFontFileTestCase(NearTestCase):
    "Tests TTFontFile, TTFontParser and TTFontMaker classes"
 
    def testFontFileFailures(self):
        "Tests TTFontFile constructor error checks"
class TTFontTestCase(NearTestCase):
    "Tests TTFont class"
 
    def testStringWidth(self):
        "Test TTFont.stringWidth"

src/r/e/reportlab-3.1.8/tests/test_pdfbase_pdfdoc.py   reportlab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import unittest,re,codecs
from reportlab.pdfbase import pdfdoc
from reportlab import rl_config
 
class PdfdocTestCase(NearTestCase):

src/r/e/reportlab-3.1.8/tests/test_pdfbase_encodings.py   reportlab(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import unittest
from reportlab.pdfgen.canvas import Canvas
from reportlab.pdfbase import pdfmetrics
class TextEncodingTestCase(NearTestCase):
    """Tests of expected Unicode and encoding behaviour
    """
    def setUp(self):
        self.vera = TTFont("Vera", "Vera.ttf")

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_pdfbase_ttfonts.py   mwlib.ext(Download)
Serif Regular and is covered under the license in ../fonts/bitstream-vera-license.txt.
"""
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import string
class TTFontFileTestCase(NearTestCase):
    "Tests TTFontFile, TTFontParser and TTFontMaker classes"
 
    def testFontFileFailures(self):
        "Tests TTFontFile constructor error checks"
class TTFontTestCase(NearTestCase):
    "Tests TTFont class"
 
    def testParseUTF8(self):
        "Tests parse_utf8"

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_pdfbase_pdfdoc.py   mwlib.ext(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import unittest,re,codecs
from reportlab.pdfbase import pdfdoc
 
class PdfdocTestCase(NearTestCase):

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_pdfbase_encodings.py   mwlib.ext(Download)
from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, NearTestCase
setOutDir(__name__)
import unittest
from reportlab.pdfgen.canvas import Canvas
from reportlab.pdfbase import pdfmetrics
class TextEncodingTestCase(NearTestCase):
    """Tests of expected Unicode and encoding behaviour
    """
    def setUp(self):
        self.vera = TTFont("Vera", "Vera.ttf")