Home | History | Annotate | Download | only in test

Lines Matching full:utcnow

1535         # Call it a success if utcnow() and utcfromtimestamp() are within
1539 from_now = self.theclass.utcnow()
2651 utcnow = datetime.utcnow().replace(tzinfo=utc)
2652 now2 = utcnow.astimezone(weirdtz)
2659 self.fail("utcnow(), now(tz), or astimezone() may be broken")
2697 meth = self.theclass.utcnow
2701 # utcnow() doesn't accept a tzinfo argument.
3262 now = datetime.utcnow().replace(tzinfo=utc_real)