summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_builtin.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-11-21 01:31:02 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-11-21 01:31:02 (GMT)
commit17fc44c9b3040538839f63d344b98ad5a904d520 (patch)
treeae2aa634c7133227e622996c010be273cce7fbe5 /Lib/test/test_builtin.py
parent39bdad813a2f07bd8c373e2c88b76467ef12832c (diff)
downloadcpython-17fc44c9b3040538839f63d344b98ad5a904d520.zip
cpython-17fc44c9b3040538839f63d344b98ad5a904d520.tar.gz
cpython-17fc44c9b3040538839f63d344b98ad5a904d520.tar.bz2
Improve str() and object.__str__() documentation (issue #13538).
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r--Lib/test/test_builtin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index 55fb63a..dab56ce 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -1184,6 +1184,7 @@ class BuiltinTest(unittest.TestCase):
self.assertRaises(TypeError, setattr, sys, 1, 'spam')
self.assertRaises(TypeError, setattr)
+ # test_str(): see test_unicode.py and test_bytes.py for str() tests.
def test_sum(self):
self.assertEqual(sum([]), 0)