##// END OF EJS Templates
Fix compatibility with pytest 8...
Fix compatibility with pytest 8 setup/teardown nose methods are no longer supported by pytest 8. https://docs.pytest.org/en/latest/deprecations.html#setup-teardown

File last commit:

r25608:70b7090a
r28734:cdacafdc
Show More
configtraits.py
16 lines | 414 B | text/x-python | PythonLexer
"""Directives and roles for documenting traitlets config options.
::
.. configtrait:: Application.log_datefmt
Description goes here.
Cross reference like this: :configtrait:`Application.log_datefmt`.
"""
def setup(app):
app.add_object_type('configtrait', 'configtrait', objname='Config option')
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata