消息 [159982]
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:44 | vinay.sajip | 修改 | recipients:
+ vinay.sajip, georg.brandl, terry.reedy, pitrou, vstinner, ocean-city, brian.curtin, skrah, catalin.iacob |
| 2012-05-05 09:35:44 | vinay.sajip | 修改 | messageid: <1336210544.81.0.912722118226.issue9116@psf.upfronthosting.co.za> |
| 2012-05-05 09:35:44 | vinay.sajip | 链接 | issue9116 messages |
| 2012-05-05 09:35:44 | vinay.sajip | 创建 | |
|