New submission from Nick Coghlan:

It is *not* OK to have a "test.support.HAVE_DOCSTRINGS" flag that is true under 
-OO, nor a requires_docstrings decorator that still attempts to run the test 
under those conditions.

Issue 19330 updated them so their meaning matched their names and the 
surrounding comments, but they were apparently being used instead to refer to a 
specific kind of CPython build.

A more logical name for such a feature would be HAVE_C_DOCSTRINGS and 
requires_c_docstrings.

----------
components: Tests
messages: 201379
nosy: ncoghlan, serhiy.storchaka, skrah
priority: normal
severity: normal
status: open
title: Add a test.support decorator for tests that require C level docstrings
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19412>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to