You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
532 B
14 lines
532 B
import os
|
|
from fontTools.ufoLib.glifLib import GlyphSet
|
|
import pkg_resources
|
|
|
|
DATADIR = os.path.join(os.path.dirname(__file__), 'data')
|
|
CUBIC_GLYPHS = GlyphSet(os.path.join(DATADIR, 'cubic'))
|
|
QUAD_GLYPHS = GlyphSet(os.path.join(DATADIR, 'quadratic'))
|
|
|
|
import unittest
|
|
# Python 3 renamed 'assertRaisesRegexp' to 'assertRaisesRegex', and fires
|
|
# deprecation warnings if a program uses the old name.
|
|
if not hasattr(unittest.TestCase, 'assertRaisesRegex'):
|
|
unittest.TestCase.assertRaisesRegex = unittest.TestCase.assertRaisesRegexp
|