diff options
author | Stefan Krah <skrah@bytereef.org> | 2013-01-26 12:07:36 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2013-01-26 12:07:36 (GMT) |
commit | c4a10f59703e91e5085f927e98a84d82831e3d9c (patch) | |
tree | c68346a677809da223b0109d9117a4450c2c00db /Lib/test/support.py | |
parent | f86e484ef2dc6b1d164a2d1c168e46b67bccc7e9 (diff) | |
parent | 6e572b8b2e34bc88d0485c1ed1c0e4a5157e3a62 (diff) | |
download | cpython-c4a10f59703e91e5085f927e98a84d82831e3d9c.zip cpython-c4a10f59703e91e5085f927e98a84d82831e3d9c.tar.gz cpython-c4a10f59703e91e5085f927e98a84d82831e3d9c.tar.bz2 |
Merge 3.3.
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index dab0f1b..a4d030a 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -597,6 +597,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 |