This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 vinay.sajip
收信人 brian.curtin, catalin.iacob, georg.brandl, ocean-city, pitrou, skrah, terry.reedy, vinay.sajip, vstinner
日期 2012-05-05.09:35:43
SpamBayes Score -1.0
Marked as misclassified
Message-id <1336210544.81.0.912722118226.issue9116@psf.upfronthosting.co.za>
In-reply-to
内容
The AssertionError in Brian's initial post indicates that the test is too restrictive. Though the discussion here has talked about removing the popups altogether, the test passes on Windows with a small change: instead of assertEqual(), I used

    self.assertTrue(err.rstrip().startswith(
                    b'Fatal Python error:'
                    b' PyThreadState_Get: no current thread'))

Patch attached. As this seems to be a sufficiently specific test, but not too specific, I'd like to apply this patch soon, unless someone thinks the test needs to stay exactly like it is.
历史
日期 用户 动作 参数
2012-05-05 09:35:44vinay.sajip修改recipients: + vinay.sajip, georg.brandl, terry.reedy, pitrou, vstinner, ocean-city, brian.curtin, skrah, catalin.iacob
2012-05-05 09:35:44vinay.sajip修改messageid: <1336210544.81.0.912722118226.issue9116@psf.upfronthosting.co.za>
2012-05-05 09:35:44vinay.sajip链接issue9116 messages
2012-05-05 09:35:44vinay.sajip创建