Skip to content

Commit 47dc783

Browse files
committed
tests updated for issue fixes
1 parent 63ee955 commit 47dc783

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ jobs:
55
python:
66
- "2.7"
77
install: "pip install -r requirements-2.txt"
8-
script: python tests-legacy.py
8+
script: python tests.py
99

1010
- stage: Python 3+ builds
1111
python:
1212
- "3.7"
1313
install: "pip install -r requirements-3.txt"
14-
script: python tests-3.py
14+
script: python tests.py
1515

tests-3.py renamed to tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def testParse(self):
3535
self.assertEqual(dm('2016-01-01', tz='UTC'), arrow.get('2016-01-01').to('UTC'))
3636
self.assertEqual(dm('2016-01-01', tz='US/Eastern'), pydatetime(2016, 1, 1, tzinfo=tz.gettz('US/Eastern')))
3737
self.assertEqual(datemath('2016-01-01T01:00:00', tz='US/Central'), pydatetime(2016, 1, 1, 1, 0, 0, tzinfo=tz.gettz('US/Central')))
38+
self.assertEqual(datemath('2016-01-01T02:00:00', tz='US/Eastern'), pydatetime(2016, 1, 1, 2, tzinfo=tz.gettz('US/Eastern')))
3839

3940
# relitive formats
4041
# addition

0 commit comments

Comments
 (0)