def test_method_remove_2(): ad = AstroData(TESTFILE) initial_len = len(ad) ad.remove(('SCI', 1)) assert len(ad) == initial_len - 1