def test_drag_context(self): context = Gdk.DragContext() # using it this way crashes.. assert hasattr(context, "finish")