def _checkZeroDiv(num, dnum):
    try:
        return num/dnum
    except ZeroDivisionError:
        print("ERROR: found a division by zero")
Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/148, part
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/specfiledata.py/_checkZeroDiv--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_checksum.py/TestChecksumFunctions.test_open_update_mode_update_checksum