MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_isoformat

Method test_isoformat

Lib/test/datetimetester.py:1577–1579  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1575 self.assertEqual(L, iso_long_years)
1576
1577 def test_isoformat(self):
1578 t = self.theclass(2, 3, 2)
1579 self.assertEqual(t.isoformat(), "0002-03-02")
1580
1581 def test_ctime(self):
1582 t = self.theclass(2002, 3, 2)

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
isoformatMethod · 0.45

Tested by

no test coverage detected