MCPcopy Index your code
hub / github.com/python/cpython / assertEquivDatetimes

Method assertEquivDatetimes

Lib/test/datetimetester.py:6846–6848  ·  view source on GitHub ↗
(self, a, b)

Source from the content-addressed store, hash-verified

6844 self.skipTest("Skipping %s: %s" % (self.zonename, err))
6845
6846 def assertEquivDatetimes(self, a, b):
6847 self.assertEqual((a.replace(tzinfo=None), a.fold, id(a.tzinfo)),
6848 (b.replace(tzinfo=None), b.fold, id(b.tzinfo)))
6849
6850 def test_folds(self):
6851 tz = self.tz

Callers 3

test_foldsMethod · 0.95
test_gapsMethod · 0.95

Calls 3

idFunction · 0.85
assertEqualMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected