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

Method test_patma_179

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

Source from the content-addressed store, hash-verified

1852 self.assertIs(whereis(Point(0, 0)), None)
1853
1854 def test_patma_179(self):
1855 def whereis(point):
1856 match point:
1857 case Point(1, y=var):
1858 return var
1859 self.assertEqual(whereis(Point(1, 0)), 0)
1860 self.assertIs(whereis(Point(0, 0)), None)
1861
1862 def test_patma_180(self):
1863 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