Serhiy Storchaka added the comment: Seems it is not possible to write a test for this. ---------- nosy: +serhiy.storchaka stage: test needed -> needs patch _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18328> _______________________________________