MCPcopy Create free account
hub / github.com/rthalley/dnspython / testBadSubsetSuperset

Method testBadSubsetSuperset

tests/test_set.py:317–320  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

315 self.assertTrue(len(s) == 0)
316
317 def testBadSubsetSuperset(self):
318 s = S([1, 2, 3])
319 self.assertRaises(ValueError, lambda: s.issubset(123))
320 self.assertRaises(ValueError, lambda: s.issuperset(123))
321
322 def testBadDisjoint(self):
323 s = S([1, 2, 3])

Callers

nothing calls this directly

Calls 2

issubsetMethod · 0.80
issupersetMethod · 0.80

Tested by

no test coverage detected