def _docs():
 dev = _get_import_dir()[1]
 if (not dev):
  warnings.warn("Docstring test imports Vispy from Vispy's installation. It is recommended to setup Vispy using 'python setup.py develop' so that the latest sources are used automatically")
 try:
  from ..util.tests import test_docstring_parameters
  print('Running docstring test...')
  test_docstring_parameters.test_docstring_parameters()
 except AssertionError as docstring_violations:
  raise RuntimeError(docstring_violations)

def _docs ( ) : dev = _get_import_dir ( ) [ 1 ] if ( not dev ) : warnings . warn ( "Docstring test imports Vispy from Vispy's installation. It is recommended to setup Vispy using 'python setup.py develop' so that the latest sources are used automatically" ) try : from . . util . tests import test_docstring_parameters print ( 'Running docstring test...' ) test_docstring_parameters . test_docstring_parameters ( ) except AssertionError as docstring_violations : raise RuntimeError ( docstring_violations )
test docstring paramters using vispy/utils/tests/test_docstring_parameters .