[issue20545] Use specific asserts in unicode tests

2017-04-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed Added file: http://bugs.python.org/file46777/test_unicode_asserts_3.patch ___ Python tracker

[issue20545] Use specific asserts in unicode tests

2017-03-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +692 ___ Python tracker ___ ___

[issue20545] Use specific asserts in unicode tests

2014-02-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Removed redundant information from error messages in multibyte codec tests. -- Added file: http://bugs.python.org/file33996/test_unicode_asserts_2.patch ___ Python tracker rep...@bugs.python.org

[issue20545] Use specific asserts in unicode tests

2014-02-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch makes unicode related tests use more specific asserts. This will provide more useful failure report. -- components: Tests, Unicode files: test_unicode_asserts.patch keywords: easy, patch messages: 210541 nosy: benjamin.peterson,

[issue20545] Use specific asserts in unicode tests

2014-02-07 Thread STINNER Victor
STINNER Victor added the comment: -self.assertTrue(type(result) is str, type(result)) +self.assertIs(type(result), str, type(result)) You can probably drop the third parameter. Victor -- ___ Python tracker

[issue20545] Use specific asserts in unicode tests

2014-02-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20545 ___ ___ Python-bugs-list mailing list