<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/string_tests.py, branch v3.7.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/string_tests.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/string_tests.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-01-28T00:59:12Z</updated>
<entry>
<title>bpo-32677: Optimize str.isascii() (GH-5356)</title>
<updated>2018-01-28T00:59:12Z</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-01-28T00:59:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bea57060c863d0c3474c79350bd9c557f2ff0e7c'/>
<id>urn:sha1:bea57060c863d0c3474c79350bd9c557f2ff0e7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342)</title>
<updated>2018-01-27T05:06:21Z</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-01-27T05:06:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a49ac9902903a798fab4970ccf563c531199c3f8'/>
<id>urn:sha1:a49ac9902903a798fab4970ccf563c531199c3f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove relics of str8 (became bytes) and buffer (bytearray) type tests</title>
<updated>2016-04-10T08:48:51Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-04-10T08:48:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=731b1b12b8de92b5da8bcdb5ba686f1d3a83662a'/>
<id>urn:sha1:731b1b12b8de92b5da8bcdb5ba686f1d3a83662a</id>
<content type='text'>
Remove redundant tests now that str is unicode.
</content>
</entry>
<entry>
<title>Issue #26712: Unify (r)split, (l/r)strip tests into string_tests</title>
<updated>2016-04-10T08:45:26Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-04-10T08:45:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d0db6cc1e3ef5c32f6bc9f4e47be2428c43423f'/>
<id>urn:sha1:0d0db6cc1e3ef5c32f6bc9f4e47be2428c43423f</id>
<content type='text'>
This eliminates a few redundant test cases.
</content>
</entry>
<entry>
<title>Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest</title>
<updated>2016-04-06T06:37:17Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-04-06T06:37:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=152a19c6bd59b772660c8af050248a196bb6a848'/>
<id>urn:sha1:152a19c6bd59b772660c8af050248a196bb6a848</id>
<content type='text'>
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.

The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are
now moved into string_tests.BaseTest, where they will also get run for bytes
and bytearray.

This change also moves test_additional_split(), test_additional_rsplit(), and
test_strip() from CommonTest to BaseTest, meaning these tests are now run for
bytes and bytearray. I plan to eliminate redundancies with existing tests in
test_bytes.py soon.
</content>
</entry>
<entry>
<title>Issue #19587: Remove masked and redundant tests in test_bytes</title>
<updated>2016-02-02T10:37:15Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-02-02T10:37:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=275bd96aa67ce2bf1c1f57cb5c2cb840d3afbb2d'/>
<id>urn:sha1:275bd96aa67ce2bf1c1f57cb5c2cb840d3afbb2d</id>
<content type='text'>
* test_contains() did not override anything
* test_expandtabs/upper/lower() in FixedStringTest were masking usable tests
  in string_tests. These tests now get run for bytearray() and bytes().
* test_expandtabs/upper/lower() in buffer_tests were only run on bytearray()
  and are redundant with string_tests
</content>
</entry>
<entry>
<title>Fix a couple of typos in code comments</title>
<updated>2015-12-17T10:18:28Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-12-17T10:18:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f9b010242d4d689ae216385cd43dd8f99e3eedc'/>
<id>urn:sha1:6f9b010242d4d689ae216385cd43dd8f99e3eedc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #24284: The startswith and endswith methods of the str class no longer</title>
<updated>2015-05-31T06:15:51Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-05-31T06:15:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4ea03c785d659576e0ae65c12fe5c03ada872d0'/>
<id>urn:sha1:d4ea03c785d659576e0ae65c12fe5c03ada872d0</id>
<content type='text'>
return True when finding the empty string and the indexes are completely out
of range.
</content>
</entry>
<entry>
<title>merge 3.4 (#22379)</title>
<updated>2014-09-28T16:57:22Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-09-28T16:57:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a2f93885b07bd3e78d803e83a4a8d893273e6642'/>
<id>urn:sha1:a2f93885b07bd3e78d803e83a4a8d893273e6642</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check that exception messages are not empty (#22379)</title>
<updated>2014-09-28T16:56:42Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-09-28T16:56:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c31f12d196455e916fcbcffc2cc2a3329abe70ed'/>
<id>urn:sha1:c31f12d196455e916fcbcffc2cc2a3329abe70ed</id>
<content type='text'>
Patch by Yongzhi Pan.
</content>
</entry>
</feed>
