Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
glyph committed Oct 2, 2014
1 parent 4ca6e9e commit f8081ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mimic/test/test_helper.py
Expand Up @@ -4,12 +4,14 @@
from datetime import datetime
from mimic.util.helper import current_time_in_utc, fmt


def no_total_seconds_in_26(td):
"""
There's no timedelta.total_seconds in Python 2.6.
"""
return td.seconds + (td.days * 24 * 3600)


class TimeFormatTests(TestCase):
"""
Tests for formatting time.
Expand Down

0 comments on commit f8081ad

Please sign in to comment.