New submission from Martin Panter: This follows on from Issue 26257, where I moved tests for these string/bytes methods into a more common class. So this patch merges and removes some existing tests from test_bytes.py that cover the same ground. I copied a couple tests to the common class that tend to test negative and degenerate cases, which the original common tests were weak on.
---------- components: Tests files: split-strip.patch keywords: patch messages: 263011 nosy: martin.panter, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Unify (r)split(), (l/r)strip() method tests type: enhancement versions: Python 2.7, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file42397/split-strip.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26712> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com