MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_iadd

Method test_iadd

Lib/test/test_userlist.py:39–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 self.assertEqual(u2, list("spameggs"))
38
39 def test_iadd(self):
40 super().test_iadd()
41 u = [0, 1]
42 u += UserList([0, 1])
43 self.assertEqual(u, [0, 1, 0, 1])
44
45 def test_mixedcmp(self):
46 u = self.type2test([0, 1])

Callers

nothing calls this directly

Calls 3

UserListClass · 0.90
superClass · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected