Commits

Jason R. Coombs  committed 363bd96

Use float so test passes on Python 2.6

  • Participants
  • Parent commits ad3a07e

Comments (0)

Files changed (1)

         result = td.total_seconds()
     except AttributeError:
         seconds = td.seconds + td.days * 24 * 3600
-        result = (td.microseconds + seconds * 10**6) / 10**6
+        result = float((td.microseconds + seconds * 10**6) / 10**6)
     return result