Run black over arrange tests

This commit is contained in:
Dave Pearson
2023-01-09 13:58:25 +00:00
parent afc7ba2a37
commit 8872956b29

View File

@@ -94,8 +94,9 @@ def test_arrange_dock_bottom():
assert widgets == {child, header} assert widgets == {child, header}
assert spacing == Spacing(0, 0, 1, 0) assert spacing == Spacing(0, 0, 1, 0)
def test_arrange_dock_badly(): def test_arrange_dock_badly():
child = Widget(id="child") child = Widget(id="child")
child.styles.dock = "nowhere" child.styles.dock = "nowhere"
with pytest.raises(AssertionError): with pytest.raises(AssertionError):
_ = arrange( Widget(), [child], Size(80, 24), Size(80, 24)) _ = arrange(Widget(), [child], Size(80, 24), Size(80, 24))