From 6e572b8b2e34bc88d0485c1ed1c0e4a5157e3a62 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Sat, 26 Jan 2013 13:06:36 +0100 Subject: Adapt test_bytes for a build --without-doc-strings. --- Lib/test/test_bytes.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/test/test_bytes.py') 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__) -- cgit v1.2.1