]> granicus.if.org Git - python/commit
Add a test on str.__getnewargs__()
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 22 Nov 2011 00:06:15 +0000 (01:06 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 22 Nov 2011 00:06:15 +0000 (01:06 +0100)
commitc814a38f3f00933f78115f71db284d620f014b53
tree841bd63d7b779b5711bfe72b7224a7dedd0f7e4a
parentf01245067a54e3863b7db5e2eebd9f7ca45b29b5
Add a test on str.__getnewargs__()

It tests indirectly PyUnicode_Copy(): ensure that the string is a copy.
Lib/test/test_unicode.py