def SetFont(self, id, font):

        if id == AUI_DOCKART_CAPTION_FONT:
            self._caption_font = font
Test that streaming an HDU to a file opened in the wrong mode fails as
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_upstream/aui/dockart.py/AuiDefaultDockArt.SetFont--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_core.py/TestStreamingFunctions.test_streaming_hdu_file_wrong_mode