Skip to content

Commit

Permalink
pep8 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Apr 1, 2016
1 parent be05fd6 commit dd39521
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions test/test_datetimerange.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

import datetime

import dateutil
from dateutil.relativedelta import *
from dateutil.parser import *
from dateutil.relativedelta import relativedelta
from dateutil.parser import parse
import pytest

from datetimerange import DateTimeRange
Expand Down Expand Up @@ -410,8 +409,18 @@ class Test_DateTimeRange_contains:
[END_DATETIME_TEXT, True],
[TEST_START_DATETIME, True],
[TEST_END_DATETIME, True],
[DateTimeRange("2015-03-22 10:05:00" + TIMEZONE, "2015-03-22 10:06:00" + TIMEZONE), True],
[DateTimeRange("2015-03-22 10:10:01" + TIMEZONE, "2015-03-22 10:11:01" + TIMEZONE), False],
[
DateTimeRange(
"2015-03-22 10:05:00" + TIMEZONE,
"2015-03-22 10:06:00" + TIMEZONE),
True,
],
[
DateTimeRange(
"2015-03-22 10:10:01" + TIMEZONE,
"2015-03-22 10:11:01" + TIMEZONE),
False
],
["2015-03-22 09:59:59" + TIMEZONE, False],
["2015-03-22 10:10:01" + TIMEZONE, False],
])
Expand Down

0 comments on commit dd39521

Please sign in to comment.