diff --git a/jupyter_server/pytest_plugin.py b/jupyter_server/pytest_plugin.py index b8454a6c49..dee6d3f0d5 100644 --- a/jupyter_server/pytest_plugin.py +++ b/jupyter_server/pytest_plugin.py @@ -19,7 +19,6 @@ from jupyter_server.extension import serverextension from jupyter_server.serverapp import ServerApp from jupyter_server.utils import url_path_join -<<<<<<< HEAD from jupyter_server.services.contents.filemanager import FileContentsManager from jupyter_server.services.contents.largefilemanager import LargeFileManager @@ -45,8 +44,6 @@ def mkdir(tmp_path, *parts): def jp_home_dir(tmp_path): """Provides a temporary HOME directory value.""" return mkdir(tmp_path, "home") -======= ->>>>>>> Use jp prefix for fixtures @pytest.fixture diff --git a/jupyter_server/services/contents/fileio.py b/jupyter_server/services/contents/fileio.py index 531715eb67..3311f455b0 100644 --- a/jupyter_server/services/contents/fileio.py +++ b/jupyter_server/services/contents/fileio.py @@ -202,7 +202,7 @@ class FileManagerMixin(Configurable): @contextmanager def open(self, os_path, *args, **kwargs): - """wrapper around open that turns permission errors into 403""" + """wrapper around io.open that turns permission errors into 403""" with self.perm_to_403(os_path): with io.open(os_path, *args, **kwargs) as f: yield f