Fix refleaks in test_capi (this was easier than I thought!)
Fix refleaks in test_capi
(this was easier than I thought!)

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator