[2.7] bpo-34236: Remove mistakenly backported Test6012 in test_capi.py. (GH-8681)

This was backported by mistake in ef19fd2.
1 file changed