diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-27 17:47:45 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-27 17:47:45 (GMT) |
| commit | 9d0add0c7e513a92ee4321aa5be70121c4c1e1e7 (patch) | |
| tree | a61b0d0c5ee1c4c727bb55754b505cd59ecc0446 /Lib/test/test_bytes.py | |
| parent | 6f02ea02c881e06029e8d44a5414682bc4b65fb8 (diff) | |
| download | cpython-9d0add0c7e513a92ee4321aa5be70121c4c1e1e7.zip cpython-9d0add0c7e513a92ee4321aa5be70121c4c1e1e7.tar.gz cpython-9d0add0c7e513a92ee4321aa5be70121c4c1e1e7.tar.bz2 | |
Issue #17041: Fix testing when Python is configured with the
--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 89e2274..ba40915 100644 --- a/Lib/test/test_bytes.py +++ b/Lib/test/test_bytes.py @@ -986,6 +986,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__) |
