def test_set_pixel_ref(self): b = SkBitmap() b.setPixelRef(SkPixelRef()) self.assertIsInstance(SkBitmap().pixelRef(), SkPixelRef)