'Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/178
Ensure that diffing tables containing empty data doesn\'t crash.'

def test_diff_empty_tables(self):

    c1 = Column('D', format='J')
    c2 = Column('E', format='J')
    thdu = BinTableHDU.from_columns([c1, c2], nrows=0)
    hdula = fits.HDUList([thdu])
    hdulb = fits.HDUList([thdu])
    diff = FITSDiff(hdula, hdulb)
    assert diff.identical
