Like test_docstring but with string normalization off *and* the preview style enabled.
()
| 162 | |
| 163 | |
| 164 | def test_preview_docstring_no_string_normalization() -> None: |
| 165 | """ |
| 166 | Like test_docstring but with string normalization off *and* the preview style |
| 167 | enabled. |
| 168 | """ |
| 169 | source, expected = read_data( |
| 170 | "miscellaneous", "docstring_preview_no_string_normalization" |
| 171 | ) |
| 172 | mode = replace(DEFAULT_MODE, string_normalization=False, preview=True) |
| 173 | assert_format(source, expected, mode) |
| 174 | |
| 175 | |
| 176 | def test_long_strings_flag_disabled() -> None: |
nothing calls this directly
no test coverage detected