def test_layout_toggle_fixed(self):
        tr = Layout()
        tr.fixed = True
        try:
            tr.Test = 42
            raise AssertionError
        except __HOLE__ as e:
            self.assertEqual(str(e), self.fixed_error)
        tr.fixed = False
        tr.Test = 42
dataset/ETHPy150Open ioam/holoviews/tests/testcollector.py/LayoutTest.test_layout_toggle_fixed