Path 1: 20 calls (0.95)

1def pop_theme(self) -> None:
2        """Pop (and discard) the top-most theme."""
3        if len(self._entries) == 1:
4            raise ThemeStackError("Unable to pop base theme")
5        self._entries.pop()
6        self.get = self._entries[-1].get
            

Path 2: 1 calls (0.05)

ThemeStackError (1)

1def pop_theme(self) -> None:
2        """Pop (and discard) the top-most theme."""
3        if len(self._entries) == 1:
4            raise ThemeStackError("Unable to pop base theme")
5        self._entries.pop()
6        self.get = self._entries[-1].get