We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f773d50 commit 0233abdCopy full SHA for 0233abd
tests_py/test_read_write.py
@@ -32,13 +32,7 @@ def test_write_yaml_defaults_to_stdout_when_path_is_none(capfd: pytest.CaptureFi
32
yaml12.write_yaml(value, path=None)
33
output = capfd.readouterr().out
34
35
- expected = textwrap.dedent(
36
- f"""\
37
- ---
38
- {encoded}
39
- ...
40
- """
41
- )
+ expected = f"---\n{encoded}\n...\n"
42
43
assert output == expected
44
assert yaml12.parse_yaml(output) == value
0 commit comments