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.

Author xiang.zhang
Recipients serhiy.storchaka, xiang.zhang
Date 2016-07-06.17:31:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467826285.31.0.846840833861.issue27460@psf.upfronthosting.co.za>
In-reply-to
Content
The constructor has been well tested in https://hg.python.org/cpython/file/tip/Lib/test/test_bytes.py#l111. It looks like that the original author only wants to guarantee the exception type but not message. So I didn't add a assertRaisesRegex test.
History
Date User Action Args
2016-07-06 17:31:25xiang.zhangsetrecipients: + xiang.zhang, serhiy.storchaka
2016-07-06 17:31:25xiang.zhangsetmessageid: <1467826285.31.0.846840833861.issue27460@psf.upfronthosting.co.za>
2016-07-06 17:31:25xiang.zhanglinkissue27460 messages
2016-07-06 17:31:25xiang.zhangcreate