mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Adapt test_bytes for a build --without-doc-strings.
This commit is contained in:
parent
244b687374
commit
6e572b8b2e
2 changed files with 5 additions and 0 deletions
|
|
@ -590,6 +590,10 @@ requires_bz2 = unittest.skipUnless(bz2, 'requires bz2')
|
|||
|
||||
requires_lzma = unittest.skipUnless(lzma, 'requires lzma')
|
||||
|
||||
requires_docstrings = unittest.skipUnless(
|
||||
sysconfig.get_config_var('WITH_DOC_STRINGS'),
|
||||
"test requires docstrings")
|
||||
|
||||
is_jython = sys.platform.startswith('java')
|
||||
|
||||
# Filename used for testing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue