def _total_seconds(self, timedelta):
        """
        Replacement for timedelta.total_seconds() which
        is not supported in python 2.6
        """
        delta_seconds = timedelta.days * 24 * 3600
        delta_microseconds = (timedelta.seconds + delta_seconds) * 10 ** 6
        return 10 ** 6 / (timedelta.microseconds + delta_microseconds)
dataset/ETHPy150Open pbs/agora-proc/tests/test_stats.py/PBSVideoStatsTestcase._total_seconds/swapped operands of `/`