MCPcopy Index your code
hub / github.com/python/cpython / test_patma_181

Method test_patma_181

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

Source from the content-addressed store, hash-verified

1868 self.assertIs(whereis(Point(0, 0)), None)
1869
1870 def test_patma_181(self):
1871 def whereis(point):
1872 match point:
1873 case Point(y=var, x=1):
1874 return var
1875 self.assertEqual(whereis(Point(1, 0)), 0)
1876 self.assertIs(whereis(Point(0, 0)), None)
1877
1878 def test_patma_182(self):
1879 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