From d65100c21a0b5b8d6efa0408926d04fd84ddb379 Mon Sep 17 00:00:00 2001 From: "Afshin T. Darian" Date: Thu, 13 May 2021 14:55:23 +0100 Subject: [PATCH] Fix Shutdown Error in Test App --- jupyterlab/tests/test_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterlab/tests/test_app.py b/jupyterlab/tests/test_app.py index 1431c4454c99..342ae110e5f6 100644 --- a/jupyterlab/tests/test_app.py +++ b/jupyterlab/tests/test_app.py @@ -122,7 +122,7 @@ def stop(self): self.path_patch.stop() try: self.test_dir.cleanup() - except PermissionError as e: + except (OSError, PermissionError) as e: pass def __enter__(self):