We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 475f4dc commit 3841978Copy full SHA for 3841978
tests/tree/test_helper.py
@@ -242,7 +242,14 @@ def test_tree_diff_same_prefix():
242
)
243
other_tree_node = node.Node("a", children=[node.Node("b")])
244
tree_only_diff = helper.get_tree_diff(tree_node, other_tree_node)
245
- expected_str = "a\n" "├── b (+)\n" "└── bb (-)\n" " └── b (-)"
+ # fmt: off
246
+ expected_str = (
247
+ "a\n"
248
+ "├── b (+)\n"
249
+ "└── bb (-)\n"
250
+ " └── b (-)\n"
251
+ )
252
+ # fmt: on
253
assert_print_statement(export.print_tree, expected_str, tree=tree_only_diff)
254
255
@staticmethod
0 commit comments