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

Method test_patma_180

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

Source from the content-addressed store, hash-verified

1860 self.assertIs(whereis(Point(0, 0)), None)
1861
1862 def test_patma_180(self):
1863 def whereis(point):
1864 match point:
1865 case Point(x=1, y=var):
1866 return var
1867 self.assertEqual(whereis(Point(1, 0)), 0)
1868 self.assertIs(whereis(Point(0, 0)), None)
1869
1870 def test_patma_181(self):
1871 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