()
| 23 | |
| 24 | |
| 25 | def test_unsplit(): |
| 26 | layout = Layout() |
| 27 | layout.split(Layout(), Layout()) |
| 28 | assert len(layout.children) == 2 |
| 29 | |
| 30 | layout.unsplit() |
| 31 | assert len(layout.children) == 0 |
| 32 | |
| 33 | |
| 34 | @pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows") |