File: non_trait_raises_error.rst

package info (click to toggle)
python-autodoc-traits 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: python: 408; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
autotrait - non trait attribute
===============================

Test that we error when used on non-trait attributes.

.. note::
   This file is targeted by ``exclude_patterns`` in ``source/conf.py``
   to avoid failing unless we want to explicitly test such failure.

.. autotrait:: sample_module.SampleConfigurable.non_trait
   :noindex: