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

Method test_patma_055

Lib/test/test_patma.py:617–624  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

615 self.assertIs(y, None)
616
617 def test_patma_055(self):
618 x = iter([1, 2, 3])
619 y = None
620 match x:
621 case []:
622 y = 0
623 self.assertEqual([*x], [1, 2, 3])
624 self.assertIs(y, None)
625
626 def test_patma_056(self):
627 x = {}

Callers

nothing calls this directly

Calls 3

iterFunction · 0.85
assertEqualMethod · 0.45
assertIsMethod · 0.45

Tested by

no test coverage detected