MCPcopy Create free account
hub / github.com/psf/black / test_long_strings_flag_disabled

Function test_long_strings_flag_disabled

tests/test_format.py:176–180  ·  view source on GitHub ↗

Tests for turning off the string processing logic.

()

Source from the content-addressed store, hash-verified

174
175
176def test_long_strings_flag_disabled() -> None:
177 """Tests for turning off the string processing logic."""
178 source, expected = read_data("miscellaneous", "long_strings_flag_disabled")
179 mode = replace(DEFAULT_MODE, experimental_string_processing=False)
180 assert_format(source, expected, mode)
181
182
183def test_stub() -> None:

Callers

nothing calls this directly

Calls 3

read_dataFunction · 0.90
assert_formatFunction · 0.90
replaceFunction · 0.85

Tested by

no test coverage detected