Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Dec 3, 2023
1 parent be37f54 commit c750c17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/textual/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,6 @@ def _arrange(self, size: Size) -> DockArrangeResult:
Returns:
Widget locations.
"""
assert self.is_container

cache_key = (size, self._nodes._updates)
cached_result = self._arrangement_cache.get(cache_key)
if cached_result is not None:
Expand Down

0 comments on commit c750c17

Please sign in to comment.