'Test files that have some identical HDUs but a different extension
count.'

def test_partially_identical_files1(self):

    a = np.arange(100).reshape((10, 10))
    phdu = PrimaryHDU(data=a)
    ehdu = ImageHDU(data=a)
    hdula = HDUList([phdu, ehdu])
    hdulb = HDUList([phdu, ehdu, ehdu])
    diff = FITSDiff(hdula, hdulb)
    assert (not diff.identical)
    assert (diff.diff_hdu_count == (2, 3))
    assert (diff.diff_hdus == [])
    report = diff.report()
    assert ('Files    contain    different    numbers    of    HDUs' in report)
    assert ('a:    2\n    b:    3' in report)
    assert ('No    differences    found    between    common    HDUs' in report)
