MCPcopy Create free account
hub / github.com/dateutil/dateutil / testToStrLongIntegers

Method testToStrLongIntegers

tests/test_rrule.py:4580–4596  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4578 dtstart=datetime(1997, 9, 2, 9, 0)))
4579
4580 def testToStrLongIntegers(self):
4581 if PY2: # There are no longs in python3
4582 self._rrulestr_reverse_test(rrule(MINUTELY,
4583 count=long(2),
4584 interval=long(2),
4585 bymonth=long(2),
4586 byweekday=long(3),
4587 byhour=long(6),
4588 byminute=long(6),
4589 bysecond=long(6),
4590 dtstart=datetime(1997, 9, 2, 9, 0)))
4591
4592 self._rrulestr_reverse_test(rrule(YEARLY,
4593 count=long(2),
4594 bymonthday=long(5),
4595 byweekno=long(2),
4596 dtstart=datetime(1997, 9, 2, 9, 0)))
4597
4598 def testReplaceIfSet(self):
4599 rr = rrule(YEARLY,

Callers

nothing calls this directly

Calls 2

rruleClass · 0.90

Tested by

no test coverage detected