def test_get_texture(self): b = SkBitmap() b.setConfig(SkBitmap.kA8_Config, 1, 1) self.assertIsInstance(b.getTexture(), SkGpuTexture)