def test_doc(enable: bool=True) ->None:
    """Test whether exported objects have a non-zero docstring. This must be called before the module is imported.

    :param enable:  Determines whether the test should be enabled or disabled.
    """
    global enable_doc_test
    enable_doc_test = enable
