diff options
author | Stefan Krah <skrah@bytereef.org> | 2013-01-26 12:06:36 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2013-01-26 12:06:36 (GMT) |
commit | 6e572b8b2e34bc88d0485c1ed1c0e4a5157e3a62 (patch) | |
tree | 67b656e4852477e751a17f54f26ebb0de78ca603 /Lib/test/test_bytes.py | |
parent | 244b6873743e8eb21c8bcd73a34ec40d300740c0 (diff) | |
download | cpython-6e572b8b2e34bc88d0485c1ed1c0e4a5157e3a62.zip cpython-6e572b8b2e34bc88d0485c1ed1c0e4a5157e3a62.tar.gz cpython-6e572b8b2e34bc88d0485c1ed1c0e4a5157e3a62.tar.bz2 |
Adapt test_bytes for a 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 26cb498..3520e83 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__) |