def unparse(dt_or_rel):
    if isinstance(dt_or_rel, SMPPRelativeTime):
        return unparse_relative_time(dt_or_rel)
    return unparse_absolute_time(dt_or_rel)
Test the _write_table_style_info() method
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/smpp_time.py/unparse--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/table/test_write_table_style_info.py/TestWriteTableStyleInfo.test_write_table_style_info