Browse Source

Fix Shutdown Error in Test App (#10240)

Afshin Taylor Darian 4 years ago
parent
commit
6df8b18fd5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jupyterlab/tests/test_app.py

+ 1 - 1
jupyterlab/tests/test_app.py

@@ -122,7 +122,7 @@ class TestEnv(object):
         self.path_patch.stop()
         try:
             self.test_dir.cleanup()
-        except PermissionError as e:
+        except (OSError, PermissionError) as e:
             pass
 
     def __enter__(self):