summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bytes.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2013-01-26 12:31:44 (GMT)
committerStefan Krah <skrah@bytereef.org>2013-01-26 12:31:44 (GMT)
commit4216aa1e52380ecc17566d0c60cac51834cfb22c (patch)
tree470aae8ec0a482d0f7ba01164e1b65e3cae8712b /Lib/test/test_bytes.py
parentc59c85c1ac63201cd0bce62f72dae62b1764b742 (diff)
downloadcpython-4216aa1e52380ecc17566d0c60cac51834cfb22c.zip
cpython-4216aa1e52380ecc17566d0c60cac51834cfb22c.tar.gz
cpython-4216aa1e52380ecc17566d0c60cac51834cfb22c.tar.bz2
Adapt test for 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 520459d..988b931 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -925,6 +925,7 @@ class AssortedBytesTest(unittest.TestCase):
self.assertEqual(bytes(b"abc") < b"ab", False)
self.assertEqual(bytes(b"abc") <= b"ab", False)
+ @test.test_support.requires_docstrings
def test_doc(self):
self.assertIsNotNone(bytearray.__doc__)
self.assertTrue(bytearray.__doc__.startswith("bytearray("), bytearray.__doc__)