MCPcopy Create free account
hub / github.com/python/cpython / test_call_ne

Method test_call_ne

Lib/test/test_unittest/testmock/testhelpers.py:213–216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

211
212
213 def test_call_ne(self):
214 self.assertNotEqual(_Call(((1, 2, 3),)), call(1, 2))
215 self.assertFalse(_Call(((1, 2, 3),)) != call(1, 2, 3))
216 self.assertTrue(_Call(((1, 2), {})) != call(1, 2, 3))
217
218
219 def test_call_non_tuples(self):

Callers

nothing calls this directly

Calls 5

_CallClass · 0.90
assertNotEqualMethod · 0.80
assertFalseMethod · 0.80
assertTrueMethod · 0.80
callFunction · 0.50

Tested by

no test coverage detected