Skip to content

Commit

Permalink
Renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jadchaar committed Sep 10, 2019
1 parent dafdb69 commit f49cd84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/factory_tests.py
Expand Up @@ -108,8 +108,8 @@ def test_one_arg_dateparser_datetime(self):
expected = datetime(1990, 1, 1).replace(tzinfo=tz.tzutc())
# dateparser outputs: datetime.datetime(1990, 1, 1, 0, 0, tzinfo=<StaticTzInfo 'UTC\+00:00'>)
parsed_date = dateparser.parse("1990-01-01T00:00:00+00:00")
arrow_obj = self.factory.get(parsed_date)._datetime.replace(tzinfo=tz.tzutc())
self.assertEqual(arrow_obj, expected)
dt_output = self.factory.get(parsed_date)._datetime.replace(tzinfo=tz.tzutc())
self.assertEqual(dt_output, expected)

def test_kwarg_tzinfo(self):

Expand Down

0 comments on commit f49cd84

Please sign in to comment.