def tearDownClass(cls) -> None: # Clear overwritten methods by destroying cached instance ONE.cache_clear() cls.tempdir.cleanup()
def tearDownClass(cls) -> None: if cls.backend: matplotlib.use(cls.backend) # Clear overwritten methods by destroying cached instance ONE.cache_clear()