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

Method test_patma_179

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

Source from the content-addressed store, hash-verified

1853 self.assertIs(whereis(Point(0, 0)), None)
1854
1855 def test_patma_179(self):
1856 def whereis(point):
1857 match point:
1858 case Point(1, y=var):
1859 return var
1860 self.assertEqual(whereis(Point(1, 0)), 0)
1861 self.assertIs(whereis(Point(0, 0)), None)
1862
1863 def test_patma_180(self):
1864 def whereis(point):

Callers

nothing calls this directly

Calls 3

PointClass · 0.70
assertEqualMethod · 0.45
assertIsMethod · 0.45

Tested by

no test coverage detected