diff options
Diffstat (limited to 'tests/test_pango.py')
-rw-r--r-- | tests/test_pango.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_pango.py b/tests/test_pango.py index c7459c2a..2e824107 100644 --- a/tests/test_pango.py +++ b/tests/test_pango.py @@ -37,3 +37,8 @@ class TestFontDescription(unittest.TestCase): fontdescr3 = pango.FontDescription('monospace 12') self.assertEqual(fontdescr, fontdescr2) self.assertNotEqual(fontdescr, fontdescr3) + + +class Tests(unittest.TestCase): + def testPangoContextConstructor(self): + self.assertRaises(TypeError, pango.Context) |