MCPcopy Index your code
hub / github.com/rspeer/python-ftfy / test_old_parameter_name

Function test_old_parameter_name

tests/test_entities.py:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39
40def test_old_parameter_name():
41 example = "&amp;\n<html>\n&amp;"
42 with pytest.deprecated_call():
43 assert fix_text(example, fix_entities=True) == "&\n<html>\n&"
44 with pytest.deprecated_call():
45 assert fix_text(example, fix_entities=False) == "&amp;\n<html>\n&amp;"

Callers

nothing calls this directly

Calls 1

fix_textFunction · 0.90

Tested by

no test coverage detected