Generates arbitrary string names for dimensions / variables. Requires the hypothesis package to be installed. See Also -------- :ref:`testing.hypothesis`_
()
| 116 | |
| 117 | |
| 118 | def names() -> st.SearchStrategy[str]: |
| 119 | """ |
| 120 | Generates arbitrary string names for dimensions / variables. |
| 121 | |
| 122 | Requires the hypothesis package to be installed. |
| 123 | |
| 124 | See Also |
| 125 | -------- |
| 126 | :ref:`testing.hypothesis`_ |
| 127 | """ |
| 128 | return st.text( |
| 129 | _readable_characters, |
| 130 | min_size=1, |
| 131 | max_size=5, |
| 132 | ) |
| 133 | |
| 134 | |
| 135 | def dimension_names( |
no outgoing calls
no test coverage detected
searching dependent graphs…