def test_cannot_change_initiated_value(self) -> None: settings = Settings(path='foo/bar/baz') with self.assertRaises(TypeError): settings.path = 'bar/baz/foo'