Lines Matching refs:utcnow
2646 # Call it a success if utcnow() and utcfromtimestamp() are within
2650 from_now = self.theclass.utcnow()
2972 ('utcnow', 'utcnow', {}),
4633 utcnow = datetime.utcnow().replace(tzinfo=utc)
4634 now2 = utcnow.astimezone(weirdtz)
4641 self.fail("utcnow(), now(tz), or astimezone() may be broken")
4679 meth = self.theclass.utcnow
4683 # utcnow() doesn't accept a tzinfo argument.
5300 now = datetime.utcnow().replace(tzinfo=utc_real)
5404 datetime.utcnow(),