Commit b1a1a59
committed
[Python] Clear TList in tseqcollection_itemaccess.py:test_delitem
Clear the TList at the end of the `test_delitem` unit test in
tseqcollection_itemaccess.py to make sure the contained list elements
are still alive when the list is cleared. Otherwise, the elements might
be deleted before the containing list, depending on the order or garbage
collection.1 parent 5d902d8 commit b1a1a59
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
242 | 246 | | |
243 | 247 | | |
244 | 248 | | |
| |||
0 commit comments