Clean up the mock display.
(self)
| 163 | pygame.display.flip() |
| 164 | |
| 165 | def cleanup(self): |
| 166 | """Clean up the mock display.""" |
| 167 | if self._initialized: |
| 168 | self._initialized = False |
| 169 | try: |
| 170 | pygame.quit() |
| 171 | except Exception: |
| 172 | pass |
| 173 | |
| 174 | # ------------------------------------------------------------------ |
| 175 | # Rotation and dimensions |
no outgoing calls
no test coverage detected