Skip to content

Commit

Permalink
add special test case
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan committed Oct 22, 2018
1 parent 4106586 commit 1d2fbff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pytils/test/test_dt.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,16 @@ def testIssue20Fixed(self):
datetime.date(2007,3,18),
inflected_day=True)
)

def test_special_case(self):
self.assertEqual(
u"октябрь",
pytils.dt.ru_strftime(
'%B',
inflected=False,
date=datetime.datetime.fromtimestamp(1540209256)
),
)


if __name__ == '__main__':
Expand Down

0 comments on commit 1d2fbff

Please sign in to comment.