summaryrefslogtreecommitdiff
path: root/Lib/test/test_bytes.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2013-01-26 13:06:36 +0100
committerStefan Krah <skrah@bytereef.org>2013-01-26 13:06:36 +0100
commiteb61d0c705bbff358c66c4609e175fd725baf377 (patch)
tree6d9e66117f910e1e5224da679a6b2695f3f8384a /Lib/test/test_bytes.py
parent3e13e57400a1ad2733f526e3336a409efd6258f9 (diff)
downloadcpython-eb61d0c705bbff358c66c4609e175fd725baf377.tar.gz
Adapt test_bytes for a build --without-doc-strings.
Diffstat (limited to 'Lib/test/test_bytes.py')
-rw-r--r--Lib/test/test_bytes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py
index 26cb498091..3520e837a1 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -1158,6 +1158,7 @@ class AssortedBytesTest(unittest.TestCase):
self.assertEqual(bytes(b"abc") < b"ab", False)
self.assertEqual(bytes(b"abc") <= b"ab", False)
+ @test.support.requires_docstrings
def test_doc(self):
self.assertIsNotNone(bytearray.__doc__)
self.assertTrue(bytearray.__doc__.startswith("bytearray("), bytearray.__doc__)