tests/docs/source/autotrait/non_trait_raises_error.rst
raw| 1 | autotrait - non trait attribute |
| 2 | =============================== |
| 3 | |
| 4 | Test that we error when used on non-trait attributes. |
| 5 | |
| 6 | .. note:: |
| 7 | This file is targeted by ``exclude_patterns`` in ``source/conf.py`` |
| 8 | to avoid failing unless we want to explicitly test such failure. |
| 9 | |
| 10 | .. autotrait:: sample_module.SampleConfigurable.non_trait |
| 11 | :noindex: |