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

Method test_patma_178

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

Source from the content-addressed store, hash-verified

1845 self.assertEqual(whereis(42), "Not a point")
1846
1847 def test_patma_178(self):
1848 def whereis(point):
1849 match point:
1850 case Point(1, var):
1851 return var
1852 self.assertEqual(whereis(Point(1, 0)), 0)
1853 self.assertIs(whereis(Point(0, 0)), None)
1854
1855 def test_patma_179(self):
1856 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