(self)
| 75 | eq_(len(w._storage), 2) |
| 76 | |
| 77 | def test_index_error(self): |
| 78 | class Foo: |
| 79 | pass |
| 80 | |
| 81 | f1, f2, f3 = Foo(), Foo(), Foo() |
| 82 | |
| 83 | w = WeakSequence() |
| 84 | w.append(f1) |
| 85 | w.append(f2) |
| 86 | w.append(f3) |
| 87 | with expect_raises(IndexError): |
| 88 | w[4] |
| 89 | |
| 90 | |
| 91 | class MergeListsWOrderingTest(fixtures.TestBase): |
nothing calls this directly
no test coverage detected