(self)
| 101 | self.addCleanup(GetFont_patcher.stop) |
| 102 | |
| 103 | def tearDown(self): |
| 104 | if self.cc.context: |
| 105 | self.cc.context.destroy() |
| 106 | # Explicitly call __del__ to remove scheduled scripts. |
| 107 | self.cc.__del__() |
| 108 | del self.cc.context, self.cc |
| 109 | |
| 110 | def test_init(self): |
| 111 | eq = self.assertEqual |