MCPcopy Create free account
hub / github.com/python/mypy / test_empty_pair_list

Method test_empty_pair_list

mypy/test/testinfer.py:368–373  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

366 )
367
368 def test_empty_pair_list(self) -> None:
369 # This case should never occur in practice -- ComparisonExprs
370 # always contain at least one comparison. But in case it does...
371
372 self.assertEqual(group_comparison_operands([], {}, set()), [])
373 self.assertEqual(group_comparison_operands([], {}, {"=="}), [])

Callers

nothing calls this directly

Calls 2

setClass · 0.85

Tested by

no test coverage detected