diff options
author | Stefan Krah <skrah@bytereef.org> | 2013-01-26 12:31:44 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2013-01-26 12:31:44 (GMT) |
commit | 4216aa1e52380ecc17566d0c60cac51834cfb22c (patch) | |
tree | 470aae8ec0a482d0f7ba01164e1b65e3cae8712b /Lib/test/test_bytes.py | |
parent | c59c85c1ac63201cd0bce62f72dae62b1764b742 (diff) | |
download | cpython-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.py | 1 |
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__) |