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

Method test_patma_181

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

Source from the content-addressed store, hash-verified

1869 self.assertIs(whereis(Point(0, 0)), None)
1870
1871 def test_patma_181(self):
1872 def whereis(point):
1873 match point:
1874 case Point(y=var, x=1):
1875 return var
1876 self.assertEqual(whereis(Point(1, 0)), 0)
1877 self.assertIs(whereis(Point(0, 0)), None)
1878
1879 def test_patma_182(self):
1880 def whereis(points):

Callers

nothing calls this directly

Calls 3

PointClass · 0.70
assertEqualMethod · 0.45
assertIsMethod · 0.45

Tested by

no test coverage detected