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

Method test_reversed

Lib/test/test_deque.py:711–713  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

709 self.assertEqual(list(d), list(e))
710
711 def test_reversed(self):
712 for s in ('abcd', range(2000)):
713 self.assertEqual(list(reversed(deque(s))), list(reversed(s)))
714
715 def test_reversed_new(self):
716 klass = type(reversed(deque()))

Callers

nothing calls this directly

Calls 3

listClass · 0.85
reversedFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected